Given a list of words as an input, group them by their anagrams.
Software Engineer Interview Questions
467,307 software engineer interview questions shared by candidates
Write a tail recursive version of the map function
Find the smallest sublist size in a list of lists. Then after I came up with an algorithm that used List.length to compare which is an O(n^2) algorithm, he asked how could this be improved, which stumped me.
Right a method that takes an int and an array and rotates the array right n times. Give an answer with constant space and linear time.
2) You have two jugs. One of 5lts and one of 3lts. You want 4lts of water. (You also have abundant supply of water.) How do you measure out exactly 4lts using the jugs?
"Why are sewer caps round?"
When was a time you were most dissatisfied in your career?
Wap to print all prime no. upto a given input no.?
Find number of pairwise elements in an array with difference k.
Write a method that counts the number of enabled bits in an Integer.
Viewing 2331 - 2340 interview questions