Skip to content

Oscarchoi/CodeExamples

Repository files navigation

Code examples

  • C++11/14 features
  • algorithm problems
  • linux system programming
  • Cmake & make build system
  • etc.

LeetCode Algorithms

# Title Solution Difficulty
337 House Robber III C++ Medium
441 Arranging Coins C++ Hard
236 Lowest Common Ancestor of a Binary Tree C++ Medium
Weekly Context 196 C++ 19/19
1502 [WC196] Can Make Arithmetic Progression From Sequence C++ Easy
1503 [WC196] Last Moment Before All Ants Fall Out of a Plank C++ Medium
1504 [WC196] Count Submatrices With All Ones C++ Medium
1505 [WC196] Minimum Possible Integer After at Most K Adjacent Swaps On Digits C++ Hard
107 Binary Tree Level Order Traversal II C++ Easy
212 Word Search II C++ Hard
234 Palindrome Linked List C++ Easy
1044 Longest Duplicate Substring C++ Hard
275 H-Index II C++ Medium
581 Shortest Unsorted Continuous Subarray C++ Easy
787 Cheapest Flights Within K Stops C++ Medium
5454 Least Number of Unique Integers after K Removals C++ Medium
368 Largest Divisible Subset C++ Medium
75 Sort Colors C++ Medium
392 Is Subsequence C++ Easy
518 Coin Change 2 C++ Medium
101 Symmetric Tree C++ Easy
406 Queue Reconstruction by Height C++ Medium
448 Find All Numbers Disappeared in an Array C++ Easy
206 Reverse Linked List C++ Easy
617 Merge Two Binary Trees C++ Easy
207 Course Schedule C++ Medium
287 Find the Duplicate Number C++ Medium
528 Random Pick with Weight C++ Medium
105 Construct Binary Tree from Preorder and Inorder Traversal C++ Medium
344 Reverse String C++ Easy
Weekly Context 190 C++ 12/18
45 Jump Game II C++ Hard
46 Permutations C++ Medium
19 Remove Nth Node From End of List C++ Medium
1029 Two City Scheduling C++ Easy
416 Partition Equal Subset Sum C++ Medium
240 Search a 2D Matrix II C++ Medium
437 Path Sum III C++ Easy
198 House Robber C++ Easy
237 Delete Node in a Linked List C++ Easy
739 Daily Temperatures C++ Medium
246 Invert Binary Tree C++ Easy
121 Best Time to Buy and Sell Stock C++ Easy
16 3Sum Closest C++ Medium
1466 Reorder Routes to Make All Paths Lead to the City Zero C++ Medium
42 Trapping Rain Water C++ Hard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published