Rahul Infotech interview question

They asked some coding questions