---
title: "How many practice problems"
url: "https://georgeliinternships.com/interview-prep/how-many-practice-problems.md"
canonical_url: "https://georgeliinternships.com/interview-prep/how-many-practice-problems"
last_updated: "2026-11-20"
type: "guide"
summary: "How many practice problems before a software internship interview: why coverage beats a count, a topic table and two-week and two-month plans."
related: ["https://georgeliinternships.com/interview-prep.md", "https://georgeliinternships.com/methodology.md", "https://georgeliinternships.com/roles.md"]
---

# How many practice problems before a software internship interview?

> **For AI agents:** the complete index of George Li Internships pages is [llms.txt](https://georgeliinternships.com/llms.txt). Every page is also served as markdown at its URL plus .md.

How many practice problems before a software internship interview: why coverage beats a count, a topic table and two-week and two-month plans.

There is no number of solved problems that makes a student ready, because a count says nothing about which ideas the problems covered. Aim for coverage: every common topic solved unaided, in more than one form, and reviewed until you can explain it. This guide gives a coverage table matched to our problem bank, a way to review, signs of readiness and two plans.

## Why a count is the wrong target

A total such as 150 solved problems can mean 150 different ideas or one idea met 150 times in slightly different clothes. A student who has done fifty problems that all use a hash table has not practiced a graph. The number that matters is how many distinct ideas you can use unaided, on a new problem, and explain.

A count also hides how the problems were solved. A problem you solved after reading the solution is practice at reading, not at solving. A problem you solved in forty minutes and could not explain a week later was not learned. Track the kind of help you needed on each problem as well as whether it is done.

The [MIT course on algorithms](https://ocw.mit.edu/courses/6-006-introduction-to-algorithms-spring-2020/) is a useful model of how the subject is organized. Its description covers the mathematical modeling of computational problems, common algorithms, algorithmic paradigms and the data structures used to solve them, with an emphasis on the relationship between algorithms and programming. That description is about ideas and how they connect, not about a number of problems, and your practice can be organized the same way.

## Coverage by topic

The table groups the common topics of an intern coding round, says what covering each one means and points to practice problems on this site. The grouping is our own, and the problems are written for this site.

| Topic | What covering it means | Practice on this site |
| --- | --- | --- |
| Counting with a table | Group by the value that matters and count combinations in one pass | Problem 1 of the [coding and complexity practice](https://georgeliinternships.com/interview-prep/coding-and-complexity-practice.md) and problem 1 of the [how technical interviews are scored](https://georgeliinternships.com/interview-prep/how-technical-interviews-are-scored.md) set |
| Arrays and windows | Scan once with a running value, and grow and shrink a window | Problem 7 of the coding and complexity practice, and problem 1 below |
| Searching and sorting | Halve a range, and say what a sort costs and what it leaves true | Problems 3 and 8 of the coding and complexity practice |
| Stacks and heaps | Last in first out, and the smallest item on top | Problems 1 and 2 of the data structures checklist |
| Graphs | Search by layers, and count ways into each node | Problem 2 below |
| Counting by trying cases | Try every case on a small input, then count by structure | Problem 3 below, and problem 2 of the [how technical interviews are scored](https://georgeliinternships.com/interview-prep/how-technical-interviews-are-scored.md) set |
| Dynamic programming and recurrences | Name the smallest piece, write the rule, fill the table in order | Problems 4, 5 and 6 of the coding and complexity practice |
| Running time | Count steps and name the growth before you code | Problem 2 of the coding and complexity practice |
*Topic coverage and where to practice it*

For each topic, aim to solve three problems of different shapes without help: an easy one that tests the idea, a harder one that hides it, and one where the brute-force method is correct but too slow. That is a pattern of coverage and not a count, and it asks for the same effort in every topic.

## How to review what you solved

1. Within a day, redo the problem from a blank page. If you cannot, mark it as not learned and redo it two days later.
2. Write one sentence naming the idea, such as count pairs by their remainder. If you cannot name the idea, you solved the problem without learning it.
3. Write the running time of your method and of the method you rejected.
4. Change the problem a little, for example by asking for the longest block instead of the shortest, and solve the new version.
5. After two weeks, redo the problems you marked as hard. A problem you solved twice, two weeks apart, is likely to stay.

## Signals of readiness

- You can pick a structure for a new problem within a minute and say why.
- You can state the running time of your method without computing it from scratch.
- You test your own code on an empty input and on one edge case before anyone asks.
- You can explain a solved problem to another person in under three minutes.
- When you are stuck, you have a routine: try a smaller input, write the brute-force method, then look for the repeated work.
- Your recent misses are small, such as an off-by-one error, and not a missing idea.

## Three problems for a first coverage check

These three problems are from three different topics. Solve each unaided, note which one you needed help on and treat that topic as your next area of work.

**Problem 1.** In the list [2, 3, 1, 2, 4, 3, 7, 1, 2, 5], what is the length of the shortest block of consecutive items whose sum is at least 15? Give an integer.

**Answer:** 4

1. Keep a window with a running sum. Grow it on the right until the sum reaches 15, then shrink it from the left while the sum still reaches 15, and record the length each time.
2. The window 4, 3, 7, 1 sums to 15 and has length 4. The window 3, 7, 1, 2 sums to 13 and the window 7, 1, 2, 5 sums to 15, also length 4.
3. No block of length 3 reaches 15: the largest three-item sum is 4 + 3 + 7 = 14. So the answer is 4, found in one pass because each item enters and leaves the window once.

**Problem 2.** A graph has nodes A to F and these undirected edges: A-B, A-C, B-D, C-D, B-E, C-E, D-F, E-F. How many different paths of the shortest possible length lead from A to F? Give an integer.

**Answer:** 4

1. A search by layers from A reaches B and C at distance 1, then D and E at distance 2, then F at distance 3.
2. Count the ways into each node: B and C each have 1 way. D is reached from B or C, so it has 2 ways, and so does E.
3. F is reached from D or from E, so its count is 2 + 2 = 4. The four paths are A-B-D-F, A-C-D-F, A-B-E-F and A-C-E-F.

**Problem 3.** How many subsets of the numbers {3, 5, 6, 7, 8, 10, 12} add up to exactly 20? A subset may have any size, and the order of its members does not matter. Give an integer.

**Answer:** 4

1. Work from the largest number down so that no subset is counted twice. With 12 in the set, the rest must add to 8: {8} works and {3, 5} works.
2. Without 12 but with 10, the rest from {3, 5, 6, 7, 8} must add to 10: {3, 7} works and no other subset does.
3. Without 12 and 10, the numbers 3, 5, 6, 7 and 8 must add to 20, and their total is 29, so removing a subset that sums to 9 leaves 20: only {3, 6} sums to 9, giving {5, 7, 8}.
4. The subsets are {12, 8}, {12, 3, 5}, {10, 3, 7} and {5, 7, 8}, so the answer is 4. A program that tries all 128 subsets confirms it, which is the brute-force check to run before you trust a clever count.

## A two-week version and a two-month version

The plans below are our suggestion, and the [coding prep schedule](https://georgeliinternships.com/tools/coding-prep-schedule.md) turns either into dates on your calendar. The two-week version assumes a first screen is close, and the two-month version assumes it is not.

| When | Two-week plan | Two-month plan |
| --- | --- | --- |
| Week 1 | The topics you have not touched, one problem of each shape | Running time, arrays and counting with a table |
| Week 2 | Redo missed problems from a blank page, then timed mixed sets | Searching, sorting, stacks and heaps |
| Weeks 3 and 4 | Not used | Graphs, then dynamic programming and recurrences |
| Weeks 5 and 6 | Not used | A second problem of a different shape in each topic |
| Weeks 7 and 8 | Not used | Timed mixed sets, spoken aloud, with a review of every miss |
*Two plans, by week*

In either plan, set aside a fixed share of each week for review. A week of solving with no review adds problems to the count and little to the coverage.

The [coding and complexity practice](https://georgeliinternships.com/interview-prep/coding-and-complexity-practice.md) and the [data structures checklist](https://georgeliinternships.com/interview-prep/data-structures-checklist.md) hold more problems and the cost of each structure.

Every answer on this page is recomputed by a separate program when the site is built, by running the structure or counting every case instead of following the written steps. A wrong answer would stop the build. Read [how the problems are checked](https://georgeliinternships.com/methodology.md).

These are our own practice problems, written for this site. If you have signed an agreement about an assessment, keep its contents to yourself, including in a coaching session.

A session with George can be a place to work a problem aloud and see which topic is thinnest. You do the solving. See the [packages page](https://georgeliinternships.com/packages.md).

## Questions

### How many practice problems should I solve before an internship interview?

No number makes you ready. Cover every common topic in more than one form and review each problem until you can explain it.

### Is solving a large number of problems enough?

Not by itself, because a count hides how many ideas the problems covered. Redo missed problems from a blank page and name the idea in a sentence.

### How long should I prepare for a coding round?

A two-week plan suits a first screen that is close, and a two-month plan suits an earlier start. Both plans on this page set aside time each week for review.

## Related

- [Internship interview prep](https://georgeliinternships.com/interview-prep.md)
- [Methodology and sources](https://georgeliinternships.com/methodology.md)
- [Internship role guides](https://georgeliinternships.com/roles.md)
