Hi codeforces, I am realative beginner in the world of algorithms and recently I have come across the pigeon-hole principle and I am slightly overwhelmed as even though I understand the principle, I am not able to develop a thinking strategy for solving problems like this, can someone please share a tutorial so that I can develop more on thinking or a list of beginner problems for me to get started on. Thank you, any help is greatly appreciated!
Here take a puzzle for fun: You are in your room with no lights and you must pick a pair of socks to wear. Your closet contains only black and white socks. How many socks you must pick without seeing, in order to be sure that you have a valid pair of socks.
https://brilliant.org/wiki/pigeonhole-principle-definition/