Explain access modifier in Java
Internship Software Interview Questions
24,799 internship software interview questions shared by candidates
Write codes for the Nth Fibonacci number.
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.
You have two decks of cards, one normal 52-card deck and one 104-card deck with double every card. Is one deck better than the other if you wanted to get two black cards in a row?
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
Viewing 11 - 20 interview questions