Swap two variables without using a temp.
Software Developer Intern Interview Questions
17,693 software developer intern interview questions shared by candidates
Find the length of the longest chain of consecutive integers in an unsorted set in linear time.
Given a collection of words, return a collection of anagrams found in the given collection
Got asked two questions: 1 - Return the length of the longest sequence of increasing numbers in an unsorted array 2 - Print out a Binary Tree level by level
Given a binary tree, which is not necessarily balanced, print the nodes in the tree in a level-wise manner. Also, nodes on the same level should be printed on a single line. A modification of the question was added later in which I cannot really add a "level" variable in the structure of the node in the tree.
Given a log of users visit to a site for a day, how would you find returning users given the log visit for another day
Write a program to find the square root of a double.
There were 2 questions I tackled. The first was a power function that needed to be implemented in logn time and a Java encapsulation question (asking questions about making arrays inaccessible from outside the object).
Given a string and a dictionary. Break the string into meaningful words.
Print out a binary tree level by level
Viewing 81 - 90 interview questions