Solving a Programming Challenge in Four Easy Steps
See a summary of what you’ve learned in this chapter after solving two programming challenges.
1. Reading the problem statement
Start by reading the problem statement, which contains the description of a computational task, time and memory limits, and a few sample tests. Make sure to understand how an output matches an input in each sample case.
If time limits are not specified explicitly in the problem statement, the following default values are used.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.