IDFC FIRST Bank interview question

Coding questions based on DSA with medium level difficulty