## FizzBuzz

Given an integer n, return a list of integers from 1 to n as strings except for multiples of 3 use “Fizz” instead of the integer and for the multiples of 5 u...

Given an integer n, return a list of integers from 1 to n as strings except for multiples of 3 use “Fizz” instead of the integer and for the multiples of 5 u...

Given a list of unique integers nums sorted in ascending order, return the minimum i such that nums[i] == i. If there’s no solution, return -1.

You are playing a game against a friend where in each round you pick a number from 1 to k to add to a shared running total that initially starts from 0. The ...

Given a list of integers nums, find the first missing positive integer. In other words, find the lowest positive integer that does not exist in the list. The...

You are given a list of integers rooms and an integer target. Return the first integer in rooms that’s target or larger. If there is no solution, return -1.

You are given a list of integers nums. Return the index of every peak in the list, sorted in ascending order. An index i is called a peak if:

Implement a data structure with the following methods:

Given a positive integer n, return whether n can be written as the sum of distinct positive factorial numbers.

Given a list of integers nums, return whether all numbers appear an even number of times.

Given a list of integers nums, return whether there’s an integer whose frequency in the list is same as its value.

You are given a list of integers nums. Return the number of pairs i < j such that nums[i] = nums[j].

You are given two lists of integers a and b where every element in both lists is between 1 to 6. Consider an operation where you pick a number in either a or...