solve n queens ii
solve median of two sorted arrays