Facebook Interview Questions
From Software Engineers Wiki
- Given an array of integers. Modify the array by moving all the zeros to the end (right side). The order of the other elements doesn't matter.
- We have an array of objects A and an array of indexes B. Reorder objects in array A with given indexes in array B. Do not change array A's length.
- Given n, return 1 ^ 2 ^ 3 ^ ... ^ n, where ^ is binary xor.