Write codes for the Nth Fibonacci number.
Developer Internship Interview Questions
23,865 developer internship interview questions shared by candidates
Given a list of words, group the words that contain the same letters (like dog and god and NOT good). How wold you serialize a general binary tree of characters into a string? Write the serializing side the take in the root node of a general tree. Write the deserializing side to take in a string return a root node of the general tree.
Check if 2 files match?
Sort a matrix in diagonal order after manipulation
Max Profit Buy Sell Stocks, K Closest Points to Origin and Copy List with Random Pointers
Design a data structure/algorithm to keep track of instruments, stock exchanges, and trades which supports an addInstrument, addTrade and getAllTradesBetweenTimes(time1, time2) operation.
Given a 2D array of letters, return whether a given word can be found in the grid. To make a word, you can use any adjacent character next to the character you're currently on in the word. But you cannot use the same grid index twice i.e. in a 2x2 array, you could find a 4 letter word by visiting each letter once
How would you implement a game that you throw five dices and the values are in an array and return true if the array has 4 consecutive number
Find the nearest palindrome for a given integer
How to get the k smallest element in O(klogk) time
Viewing 11 - 20 interview questions