add the solution of finding max k number problem in beaty of coding