Compiling a list of FB DE questions and optimized solutions for everyone to read in one place. Please enter your solutions or any other questions you may have seen before.
-
Given an array of integers, we would like to determine whether the array is monotonic (non-decreasing/non-increasing) or not.
-
Replace None with previous element from List, there was some challenges
[1,4,None,None,3]===> [1,4,4,4,3] (take care of first string being None) -
find s in missisipi - print the index
-
Uncommon words from two sentences Uncommon words from two sentences
-
For the given set of words in a list, return the average word length.
-
Given a ´dictionary, print the key for nth highest value present in the dict. If there are more than 1 record present for nth highest value then sort the key and print the first one.
-
https://leetcode.com/discuss/interview-question/700611/facebook-phone-simple-spell-checking-engine
-
write an Histogram ( Have no idea what is expected from this question)
-
Flatten a nested dictionary.


