• Developer Portfolio
  • Coder Resume
  • Markdown Blog
  • English
    中文
  • Unregistered user
    All solutions
    Welcome !
    Quit Gaming

Reminder

Hi, I'm Lane, the webmaster of coder.id. I want to redirect you to a Chinese webpage https://mp.weixin.qq.com/mp/appmsgalbum?&action=getalbum&album_id=3837375450187350017.

This page is about an e-book I wrote. I once got really burned by playing video games excessively and eventually quit.

You can use the translation function of your browser to translate it.
Continue to Visit
All solutions
  • Study Plan
  • LeetCode 75
  • LeetCode Top 100 Liked
  • LeetCode Top Interview 150
  • Data Structures & Algorithms
  • Array
  • Linked List
  • Hash Table
  • String
  • Two Pointers
  • Stack
  • Queue
  • Greedy
  • Backtracking Algorithm
  • Dynamic Programming
  • Graph Theory
  • Other Algorithm
  • Binary Search
  • Sorting
  • Simulation
  • Design
  • Tree
  • Prim's algorithm
  • Shortest Path
  • Math
  • Counting
  • Matrix/Grid
  • Binary Tree
  • Monotonic Stack
  • Sliding Window
  • Fast & Slow Pointers Technique
  • Brute Force Algorithm
  • House Robber
  • Knapsack Problem
  • 0/1 Knapsack Problem
  • Unbounded Knapsack
  • Stock Maximum Profit
  • Subsequence Problems
  • UnionFind
  • Minimum Spanning Tree
  • Kruskal's Algorithm
  • Dijkstra's Algorithm
  • Bellman-Ford Algorithm
  • Floyd–Warshall Algorithm
  • Breadth-First Search
  • Depth-First Search
  • A* Algorithm
  • Heap Sort (Priority Queue)
  • Palindrome
  • Recursion
  • left & right pointers
  • Pre-Computation Techniques
  • SQL 50
  • Prefix Sum
  • Counting Sort
  • Segment Tree

    LeetCode Python/Java/C++/JS  >  Knapsack Problem

    LeetCode Problem & Solution Link Difficulty Supported Languages Approaches Expl. Detail
    416. Partition Equal Subset Sum
    Medium
    2 Methods Step by Step
    1049. Last Stone Weight II
    Medium
    2 Methods Step by Step
    494. Target Sum
    Medium
    Step by Step
    474. Ones and Zeroes
    Medium
    Step by Step
    518. Coin Change II
    Medium
    Only Answer
    377. Combination Sum IV
    Medium
    Only Answer
    322. Coin Change
    Medium
    Only Answer
    279. Perfect Squares
    Medium
    Only Answer
    139. Word Break
    Medium
    Only Answer
    121. Best Time to Buy and Sell Stock
    Easy
    Only Answer
    122. Best Time to Buy and Sell Stock II
    Medium
    Only Answer
    714. Best Time to Buy and Sell Stock with Transactio...
    Medium
    Only Answer
    123. Best Time to Buy and Sell Stock III
    Hard
    Only Answer
    188. Best Time to Buy and Sell Stock IV
    Hard
    Only Answer
    309. Best Time to Buy and Sell Stock with Cooldown
    Medium
    Only Answer
    2025 © LeetCode.blog provides free solutions for learning purposes only.
    About Support Contact Us