Given a number n, count the number of 1's in the binary representation of each number from 0 to n.

ReadGiven an array of integers, check if the array contains any duplicates.

ReadGiven a list of distinct integers, find all the possible combinations which sums up to a target.

ReadGiven a positive integer n, generate a square matrix filled with elements from 1 to n^2 in spiral order.

ReadGiven a string, remove minimum number of parentheses to make it balanced.

ReadGiven root of a binary tree, check if it is balanced or not.

Read