Finding median of two sorted arrays.
Data structure for maintaining a boolean vector.
Finding all permutations of a given vector.