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?)
Programmer Analyst Ii Interview Questions
716,610 programmer analyst ii interview questions shared by candidates
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.
Coding question: Q. Given two non-negative integers low and high. Return the count of odd numbers between low and high
Viewing 2031 - 2040 interview questions