# README

* [README](#readme)
  * [Methodology](#methodology)
    * [Categorize question types](#categorize-question-types)
    * [Learn from answers and train my thoughts](#learn-from-answers-and-train-my-thoughts)
    * [Practice with "Explain Everything"](#practice-with-explain-everything)
  * [Readability](#readability)
* [Task lists](#task-lists)
  * [Parenthesis](#parenthesis)
  * [Dynamic programming](#dynamic-programming)
  * [Design](#design)
  * [Other](#other)
  * [Binary search](#binary-search)
  * [Greedy](#greedy)

## README

### Methodology

#### Categorize question types

#### Learn from answers and train my thoughts

#### Practice with "Explain Everything"

### Readability

* Gitbook serves as a nice representation engine for this repo.
* You could see it at <https://eric-zhang-seattle.gitbook.io/leetcode-1/>

## Task lists

### Parenthesis

1. 1249. Minimum Remove to Make Valid Parentheses
2. 921. Minimum Add to Make Parentheses Valid
3. 301. Remove invalid parentheses

### Dynamic programming

1. 629. K Inverse Pairs Array
2. 1235. Maximum Profit in Job Scheduling
3. 1420. Build Array Where You Can Find The Maximum Exactly K Comparisons
4. 1531. String Compression II
5. 2742. Painting the walls
6. 2851. String Transformation
7. 1458. Max Dot Product of Two Subsequences
8. 1611. Minimum One Bit Operations to Make Integers Zero

### Design

1. 380. Insert Delete GetRandom O(1)
2. 381. Insert-Delete-GetRandom-O1-Duplicates-allowed
3. 362. Design Hit Counter
4. 2296. Design a Text Editor
5. 2043. Simple Bank System

### Other

1. 1291. Sequential Digits (M)

### Binary search

1. 2468. Split Message Based on Limit (H)

### Greedy

1. 2870. Minimum Number of Operations to Make Array Empty


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eric-zhang-seattle.gitbook.io/leetcode-1/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
