Coding Challenge (Company-P)