Posts

Showing posts from December, 2021

Some techniques I learnt recently.

 Hello ! It's a loooooong time since I posted, actually I posted only once tho before this :P.  I have been doing a lot of combo problems recently, and this post will have some tricks which I learnt while trying the problems, and you can think of it while trying other problems if you get some intuition or so. Another reason why I am writing this is like I think of the idea, but I tend to think it's useless (while solving the prob) and many a times, the same idea is used in some solution to the problem which I discarded. So, I hope you won't do the same mistake :D.  Let's start 😁 (1) Think about base cases. So if a problem asks you to show something is true for n, think what will happen if -> n = 2,3,4,5. Maybe you can take some more base cases to think if that is possible with time constraints.  (2) If the problem is related to ordering or something, take a small n, say n = 4 or 5, and try to think of various permutations and the "ideal" strategy of what