Tatvasoft interview question

Patterns and DSA and aptitude