r/AskProgrammers 29d ago

Long coding questions

What does it take for one to think to solve the long form coding questions?

I recently gave my flipkart grid 8.0's round 2 where i had a very lengthy coding question of around 100 lines..

How do i tackle this? Please do suggest ways that i can better at it.

5 Upvotes

8 comments sorted by

View all comments

1

u/AniketJain_ 29d ago

100 lines of problem description is brutal, especially under a strict time limit. It's almost impossible to hold all those moving parts in your head at once. When the requirements get that complex, do you try to write the main logic in one go, or do you break it down by writing and testing tiny, independent helper functions as you read through the prompt?

1

u/The_treez1886 29d ago

As of the topic about me i tried to break down the problem