Lenskart Solutions Interview Question

2 Data structure coding question