Coding Ninjas Interview Question

Subset sum, N queens problem