Question1 /** * Given a nested list of integers, returns the sum of all integers in the list weighted by their depth * For example, given the list {{1,1},2,{1,1}} the function should return 10 (four 1's at depth 2, one 2 at depth 1) * Given the list {1,{4,{6}}} the function should return 27 (one 1 at depth 1, one 4 at depth 2, and one 6 at depth 3)
Programmer Trainee Interview Questions
712,907 programmer trainee interview questions shared by candidates
You have a 5L and a 3L bottle. How can you get exactly 4 Litters of water?
test life cycle in assurance
Because I had a lot of mobile development experience listed on my resume, they asked me a lot about mobile development.
Print numbers 1 to 100 in sequence using multiple threads.
Explain a few technical terms like markov chain, singleton, mvc, bloom filter, opportunistic lock, row-level locking
Given a list of Strings, return all groups of acronyms.
What is the efficiency of finding an element in an unsorted array of strings
Find the largest sum of contiguous numbers in an array
Design an alert system. You have 500,000 hotels you represent, and about 250,000 are visited each day. You want to track hotel page visits such that, if more than 10 visitors per a) 5 minutes, b) 1 hour, and c) 24 hours occur, then a (different for each time period) "alert" appears when someone visits one of those "hot" hotel pages. Don't worry about the UI part, just design the underlying alert system. Then optimize your solution for space.
Viewing 1041 - 1050 interview questions