Implement an Iterator of Iterators which traverses through an arbitrary number of iterators. IE, an iterator which iterates over three list iterators in the following way: L1 = a1, a2, a3 L2 = b1, b2, b3 L3 = c1, c2, c3 Then the iterator should process them in this order: a1, b1, c1, a2, b2, c2, a3, b3, c3
Intern Interview Questions
248,963 intern interview questions shared by candidates
Why did you choose your college? Why did you choose your major?
Find the rectangle of maximal area under a histogram
Calculating the max execution time of a program that had to fit into a certain size of memory on an embedded device.
How to delete the file "-f" with rm.
Write this function (on a Google doc): /*How many ways can you make change given the following denominations? ie, if numCentsToMake is 6 and denominations is [25, 10, 5, 1], then it should return 2: either a nickel and a penny or 6 pennies.*/ int numWaysToMakeChange(int numCentsToMake, int[] denominations)
Given a binary search tree, return the most approximate number to the one passed as input.
To what countries does Pepsico export products?
How do you keep your skills sharp?
How do you reverse a string containing many sentences? The constraint is that you should only reverse letters of a word and not the words in the sentence.
Viewing 951 - 960 interview questions