PayPal | 10th October | Online Assessment | Sorting Dates

PayPal · Question · Posted Oct 2022

Avg CTC: 21lpa Role: Software Engineer Job Link: Software Engineering position Question <problem>67</problem> Sorting Dates Sort a list of dates in ascending order given the data format show below: Each date is in the form dd mmm yyyy where: dd is in the set(0-31) mmm is in the set (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec) yyyy is four digits Example dates = ['01 Mar 2017', '03 Feb 2017', '15 Jan 1998' ] The array ...

The full answer & interview discussion are available to premium members.

Log in Create a free account