The meeting room problem.
Programmer Analyst Interview Questions
713,575 programmer analyst interview questions shared by candidates
Q1: If there is a new Android engineer, how will you suggest the best practice of async jobs in Android? (And the detail about AsyncTask, Executor, Thread interrupt, memory leak...and so on) Q2: Give an unsorted array, find the kth smallest item (Can you do it more quickly?)
It was a mathematical questions about finding the greatest number (but less than the given number) by reordering the digits in the number.
Design an enumerator (e.g. named FBSuperEnumerator) that has two API's: - (id) nextObject; - (NSArray *) allObjects; // all objects remaining which, when given an input array that has content that can be either NSNumbers or NSArray, will expand all arrays embedded inside it. That is, given an input of something like @[@1, @[@2, @[@3, @4]], @[ ], @5], each call to nextObject will display items in the expected order.
Check if a string is a pallindrome Find the longest distance between any two nodes in a binary tree.
2 leetcode easies, 2 leetcode mediums (Codesignal)
Sort a matrix in diagonal order after manipulation
Max Profit Buy Sell Stocks, K Closest Points to Origin and Copy List with Random Pointers
Print Tree nodes level by level
Diameter of binary tree. Find number of islands. Meeting room problem.
Viewing 2011 - 2020 interview questions