67 ms·
I am a slow thinker, but had been moderately successful in competitive programming during high school days. The trick is to code a lot outside of the competiti
by krasin 8y ago
I am a slow thinker, but had been moderately successful in competitive programming during high school days.
The trick is to code a lot outside of the competitions and know all these tricks, as well as to have common snippets of code in your fingertips.
I still find that experience quite useful in my day-to-day programming.
- abhishekjha 8y agoI would like to know more about this. Is there a proper book(s)/source(s) that I should follow? I never came across segment trees in my Data Structures class and I have rarely found the need to code one up in my job yet the screening process involved coding a question using segment trees. How do people get to know about these?
- codepie 8y ago>Is there a proper book(s)/source(s) that I should follow? You may find these book useful: Competitive Programming 3 by Felix Halim and Steven Halim. Competitive Programmer’s Handbook (https://cses.fi/book/index.html https://cses.fi/book/index.html) >I have rarely found the need to code one up in my job Depending on your job profile, these data structures may not be used at all. But programming puzzles have become the norm for interviews in the industry.