Freshworks Interview Question

1) Find longest substring in a string without repeating characters 2) Find date xpath in Makemytrip