Popular repositories Loading
-
singlevalue
singlevalue PublicGiven an array of integers, every element appears twice except for one. Find that single one. The algorithm should have a linear run-time complexity.
Java
-
NumberOfBSTs
NumberOfBSTs PublicYou are given a list of sorted integers. you need to return the total number of possible BSTs.
Java
-
NumberOfSwitches
NumberOfSwitches PublicN light bulbs are connected by a wire. Each bulb has a switch associated with it, however due to faulty wiring, a switch also changes the state of all the bulbs to the right of current bulb. Given …
Java
-
PrimeFactors
PrimeFactors PublicGiven an even number ( greater than 2 ), return two prime numbers whose sum will be equal to given number.
Java
-
Binary
Binary PublicGiven an integer, convert it to binary. Then find and print the binary value and the maximum number of consecutive 1's in the binary representation.
Java
-
If the problem persists, check the GitHub status page or contact support.