Find max number of days for which a person can go for vacation
Anonymous User
3697

Given a calendar with working days and holidays and defined number of vacations/PTO you can take. Find how can you plan your PTO so that you get maximum number of days as vacation, and return maximun number of vacation days

I/P -
PTO - 3
W H W H W W W H H H

Output - 7

Comments (10)