Skip to content

DreamOfTheRedChamber/leetcode

Repository files navigation

README

Methodology

Categorize question types

Learn from answers and train my thoughts

Practice with "Explain Everything"

Readability

Task lists

Parenthesis

    1. Minimum Remove to Make Valid Parentheses
    1. Minimum Add to Make Parentheses Valid
    1. Remove invalid parentheses

Dynamic programming

    1. K Inverse Pairs Array
    1. Maximum Profit in Job Scheduling
    1. Build Array Where You Can Find The Maximum Exactly K Comparisons
    1. String Compression II
    1. Painting the walls
    1. String Transformation
    1. Max Dot Product of Two Subsequences
    1. Minimum One Bit Operations to Make Integers Zero

Design

    1. Insert Delete GetRandom O(1)
    1. Insert-Delete-GetRandom-O1-Duplicates-allowed
    1. Design Hit Counter
    1. Design a Text Editor
    1. Simple Bank System

Other

    1. Sequential Digits (M)

Binary search

    1. Split Message Based on Limit (H)

Greedy

    1. Minimum Number of Operations to Make Array Empty