It was a mathematical questions about finding the greatest number (but less than the given number) by reordering the digits in the number.
Software Engineer 2 Interview Questions
665,793 software engineer 2 interview questions shared by candidates
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.
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
Bob can make a cigar from 5 used butts of old cigars. If he has 25 cigar butts, how many cigars can he smoke?
what is volatile, static ? how would it affect if the static keyword used for big array inside a function? what are sections of memory and what kind of variable is stored where?
Viewing 1741 - 1750 interview questions