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.
Intern Interview Questions
249,828 intern interview questions shared by candidates
Find top 10 occurring words in a page.
What are 3 numbers the CFO would look at on a daily basis?
What sorts of costs does Amazon face as an online seller of goods?
If you were the CFO of amazon, what metrics would you look at every day to see how well your company is doing?
Tell me about yourself and your experience
You are given a Binary Search Tree of ints with duplicate entries. You are guaranteed that if an element has a duplicate entry, it is in the right subtree of that element. Write a function to count the total number of duplicates. (note, if a tree contains the same element two times, the count of duplicates is 1, not 2)
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
Viewing 771 - 780 interview questions