Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Go

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:

Expand Down
118 changes: 63 additions & 55 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions helper/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode helper); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

# Helper
Expand Down
6 changes: 3 additions & 3 deletions problems/1-bit-and-2-bit-characters/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../max-stack "Max Stack")
Expand Down
6 changes: 3 additions & 3 deletions problems/2-keys-keyboard/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../dota2-senate "Dota2 Senate")
Expand Down
6 changes: 3 additions & 3 deletions problems/24-game/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../valid-parenthesis-string "Valid Parenthesis String")
Expand Down
6 changes: 3 additions & 3 deletions problems/3sum/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../longest-common-prefix "Longest Common Prefix")
Expand Down
6 changes: 3 additions & 3 deletions problems/4-keys-keyboard/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../2-keys-keyboard "2 Keys Keyboard")
Expand Down
6 changes: 3 additions & 3 deletions problems/accepted-candidates-from-the-interviews/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../kth-smallest-product-of-two-sorted-arrays "Kth Smallest Product of Two Sorted Arrays")
Expand Down
6 changes: 3 additions & 3 deletions problems/account-balance/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../maximum-path-quality-of-a-graph "Maximum Path Quality of a Graph")
Expand Down
6 changes: 3 additions & 3 deletions problems/activity-participants/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../construct-target-array-with-multiple-sums "Construct Target Array With Multiple Sums")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../last-stone-weight-ii "Last Stone Weight II")
Expand Down
6 changes: 3 additions & 3 deletions problems/ad-free-sessions/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../maximize-number-of-nice-divisors "Maximize Number of Nice Divisors")
Expand Down
6 changes: 3 additions & 3 deletions problems/add-bold-tag-in-string/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../average-salary-departments-vs-company "Average Salary: Departments VS Company")
Expand Down
6 changes: 3 additions & 3 deletions problems/add-minimum-number-of-rungs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../maximum-number-of-words-you-can-type "Maximum Number of Words You Can Type")
Expand Down
6 changes: 3 additions & 3 deletions problems/add-one-row-to-tree/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../design-circular-queue "Design Circular Queue")
Expand Down
6 changes: 3 additions & 3 deletions problems/add-to-array-form-of-integer/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../smallest-string-starting-from-leaf "Smallest String Starting From Leaf")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../percentage-of-users-attended-a-contest "Percentage of Users Attended a Contest")
Expand Down
6 changes: 3 additions & 3 deletions problems/adding-two-negabinary-numbers/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../flip-columns-for-maximum-number-of-equal-rows "Flip Columns For Maximum Number of Equal Rows")
Expand Down
6 changes: 3 additions & 3 deletions problems/advantage-shuffle/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../reordered-power-of-2 "Reordered Power of 2")
Expand Down
6 changes: 3 additions & 3 deletions problems/airplane-seat-assignment-probability/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../the-dining-philosophers "The Dining Philosophers")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../design-parking-system "Design Parking System")
Expand Down
6 changes: 3 additions & 3 deletions problems/alien-dictionary/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../missing-number "Missing Number")
Expand Down
6 changes: 3 additions & 3 deletions problems/all-elements-in-two-binary-search-trees/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../find-n-unique-integers-sum-up-to-zero "Find N Unique Integers Sum up to Zero")
Expand Down
6 changes: 3 additions & 3 deletions problems/all-people-report-to-the-given-manager/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../number-of-ways-to-stay-in-the-same-place-after-some-steps "Number of Ways to Stay in the Same Place After Some Steps")
Expand Down
6 changes: 3 additions & 3 deletions problems/all-possible-full-binary-trees/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--|This file generated by command(leetcode description); DO NOT EDIT. |-->
<!--+----------------------------------------------------------------------+-->
<!--|@author openset <openset.wang@gmail.com> |-->
<!--|@link https://github.com/openset |-->
<!--|@home https://github.com/openset/leetcode |-->
<!--|@author awesee <openset.wang@gmail.com> |-->
<!--|@link https://github.com/awesee |-->
<!--|@home https://github.com/awesee/leetcode |-->
<!--+----------------------------------------------------------------------+-->

[< Previous](../groups-of-special-equivalent-strings "Groups of Special-Equivalent Strings")
Expand Down
Loading