Given a continuous stream of cartesian points (x,y), find the 100 closest points to the origin.
Software Engineering Intern Interview Questions
12,189 software engineering intern interview questions shared by candidates
Both of the questions are not difficult but I didn't figure out the latter, so you should write down the code instead of just the pseudo-code.
Find top 10 occurring words in a page.
Design a parking lot
Explain to a high school student with limited computer knowledge how a CPU is capable of running two programs simultaneously.
How will you find the middle node in a linked list
Find the longest sequence of unrepeated characters in a string. The interviewer was really unhelpful and didn't provide any hints, just let me stutter around.
- Convert sorted array to BST - Print the above tree level by level - I forgot the last question
Compute square root of a integer, without using the built-in sqrt method.
Write a function to construct a binary search tree given a string in postorder notation ("abcdefg").
Viewing 241 - 250 interview questions