Problem Solving Strategies
For every problem:
1) Solve the sample input by hand
2) Create 6-7 test cases of size N=6 or N=7 and solve them by hand. Try to find patterns as
to how you solved them
○ While solving these test cases by hand, look for the most effective way to
draw the problem
○ You are not “stuck” on a problem until you complete this step
○ If you don’t see any patterns after completing this step, post in the facebook
group and we’ll help you out
Apply to some problems:
● Sort first, think second
● If there are oddly low constraints, figure out how those constraints being low helps
you
● Instead of solving the problem, solve inverse
Copyright © 2020 VPlanet Coding. All Rights Reserved.