Facebook Interview Report
- 0of 0 votes
AnswersQuestion 1: Given an input of an array of string, verify if, turned 180 degrees, it is the "same".
- mche1987 March 27, 2018 in United States
For instance:
[1, 6, 0, 9, 1] => return true
[1, 7, 1] => return false| Report Duplicate | Flag | PURGE
Facebook SDE1 Algorithm - -2of 2 votes
AnswersQuestion 2: Given a number 'k', return the corresponding row, given the pattern:
- mche1987 March 27, 2018 in United States
k => output
0 => []
1 => ["0", "1", "8"]
2 => ["00", "11", "69", "96", "88"]
3 => ["000", "111", "101", "888", ...] // and so on ...| Report Duplicate | Flag | PURGE
Facebook SDE1 Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.