Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jjiny0716
/
Algorithm
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
master
Breadcrumbs
Algorithm
/
leetcode
/
Copy path
Directory actions
More options
More options
Directory actions
More options
More options
Latest commit
History
History
History
master
Breadcrumbs
Algorithm
/
leetcode
/
Copy path
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
failed
failed
1. Two Sum.js
1. Two Sum.js
100. Same Tree.js
100. Same Tree.js
1002. Find Common Characters.js
1002. Find Common Characters.js
1004. Max Consecutive Ones III.js
1004. Max Consecutive Ones III.js
1005. Maximize Sum Of Array After K Negations.js
1005. Maximize Sum Of Array After K Negations.js
1006. Clumsy Factorial.js
1006. Clumsy Factorial.js
1007. Minimum Domino Rotations For Equal Row.js
1007. Minimum Domino Rotations For Equal Row.js
101. Symmetric Tree.js
101. Symmetric Tree.js
1010. Pairs of Songs With Total Durations Divisible by 60.js
1010. Pairs of Songs With Total Durations Divisible by 60.js
1011. Capacity To Ship Packages Within D Days.js
1011. Capacity To Ship Packages Within D Days.js
1013. Partition Array Into Three Parts With Equal Sum.js
1013. Partition Array Into Three Parts With Equal Sum.js
1014. Best Sightseeing Pair.js
1014. Best Sightseeing Pair.js
1019. Next Greater Node In Linked List.js
1019. Next Greater Node In Linked List.js
102. Binary Tree Level Order Traversal.js
102. Binary Tree Level Order Traversal.js
1020. Number of Enclaves.js
1020. Number of Enclaves.js
1022. Sum of Root To Leaf Binary Numbers.js
1022. Sum of Root To Leaf Binary Numbers.js
1023. Camelcase Matching.js
1023. Camelcase Matching.js
1024. Video Stitching.js
1024. Video Stitching.js
1026. Maximum Difference Between Node and Ancestor.js
1026. Maximum Difference Between Node and Ancestor.js
1029. Two City Scheduling.js
1029. Two City Scheduling.js
103. Binary Tree Zigzag Level Order Traversal.js
103. Binary Tree Zigzag Level Order Traversal.js
1031. Maximum Sum of Two Non-Overlapping Subarrays.js
1031. Maximum Sum of Two Non-Overlapping Subarrays.js
1034. Coloring A Border.js
1034. Coloring A Border.js
1035. Uncrossed Lines.js
1035. Uncrossed Lines.js
104. Maximum Depth of Binary Tree..js
104. Maximum Depth of Binary Tree..js
1041. Robot Bounded In Circle.js
1041. Robot Bounded In Circle.js
1042. Flower Planting With No Adjacent.js
1042. Flower Planting With No Adjacent.js
1043. Partition Array for Maximum Sum.js
1043. Partition Array for Maximum Sum.js
1047. Remove All Adjacent Duplicates In String.js
1047. Remove All Adjacent Duplicates In String.js
1048. Longest String Chain.js
1048. Longest String Chain.js
1051. Height Checker.js
1051. Height Checker.js
1052. Grumpy Bookstore Owner.js
1052. Grumpy Bookstore Owner.js
1054. Distant Barcodes.js
1054. Distant Barcodes.js
107. Binary Tree Level Order Traversal II.js
107. Binary Tree Level Order Traversal II.js
1072. Flip Columns For Maximum Number of Equal Rows.js
1072. Flip Columns For Maximum Number of Equal Rows.js
1073. Adding Two Negabinary Numbers.js
1073. Adding Two Negabinary Numbers.js
1074. Number of Submatrices That Sum to Target.js
1074. Number of Submatrices That Sum to Target.js
1078. Occurrences After Bigram.js
1078. Occurrences After Bigram.js
1079. Letter Tile Possibilities.js
1079. Letter Tile Possibilities.js
1089. Duplicate Zeros.js
1089. Duplicate Zeros.js
1090. Largest Values From Labels.js
1090. Largest Values From Labels.js
1091. Shortest Path in Binary Matrix.js
1091. Shortest Path in Binary Matrix.js
1094. Car Pooling.js
1094. Car Pooling.js
11. Container With Most Water.js
11. Container With Most Water.js
1103. Distribute Candies to People.js
1103. Distribute Candies to People.js
1104. Path In Zigzag Labelled Binary Tree.js
1104. Path In Zigzag Labelled Binary Tree.js
1106. Parsing A Boolean Expression.js
1106. Parsing A Boolean Expression.js
1109. Corporate Flight Bookings.js
1109. Corporate Flight Bookings.js
112. Path Sum.js
112. Path Sum.js
1122. Relative Sort Array.js
1122. Relative Sort Array.js
1124. Longest Well-Performing Interval.js
1124. Longest Well-Performing Interval.js
1128. Number of Equivalent Domino Pairs.js
1128. Number of Equivalent Domino Pairs.js
1129. Shortest Path with Alternating Colors.js
1129. Shortest Path with Alternating Colors.js
113. Path Sum II.js
113. Path Sum II.js
1137. N-th Tribonacci Number.js
1137. N-th Tribonacci Number.js
1138. Alphabet Board Path.js
1138. Alphabet Board Path.js
114. Flatten Binary Tree to Linked List.js
114. Flatten Binary Tree to Linked List.js
1145. Binary Tree Coloring Game.js
1145. Binary Tree Coloring Game.js
1155. Number of Dice Rolls With Target Sum.js
1155. Number of Dice Rolls With Target Sum.js
1156. Swap For Longest Repeated Character Substring.js
1156. Swap For Longest Repeated Character Substring.js
1160. Find Words That Can Be Formed by Characters.js
1160. Find Words That Can Be Formed by Characters.js
1161. Maximum Level Sum of a Binary Tree.js
1161. Maximum Level Sum of a Binary Tree.js
1162. As Far from Land as Possible.js
1162. As Far from Land as Possible.js
118. Pascal's Triangle.js
118. Pascal's Triangle.js
1184. Distance Between Bus Stops.js
1184. Distance Between Bus Stops.js
1189. Maximum Number of Balloons.js
1189. Maximum Number of Balloons.js
119. Pascal's Triangle II.js
119. Pascal's Triangle II.js
120. Triangle.js
120. Triangle.js
1200. Minimum Absolute Difference.js
1200. Minimum Absolute Difference.js
1207. Unique Number of Occurrences.js
1207. Unique Number of Occurrences.js
1209. Remove All Adjacent Duplicates in String II.js
1209. Remove All Adjacent Duplicates in String II.js
1218. Longest Arithmetic Subsequence of Given Difference.js
1218. Longest Arithmetic Subsequence of Given Difference.js
1219. Path with Maximum Gold.js
1219. Path with Maximum Gold.js
122. Best Time to Buy and Sell Stock II.js
122. Best Time to Buy and Sell Stock II.js
1221. Split a String in Balanced Strings.js
1221. Split a String in Balanced Strings.js
1222. Queens That Can Attack the King.js
1222. Queens That Can Attack the King.js
1239. Maximum Length of a Concatenated String with Unique Characters.js
1239. Maximum Length of a Concatenated String with Unique Characters.js
1248. Count Number of Nice Subarrays.js
1248. Count Number of Nice Subarrays.js
1249. Minimum Remove to Make Valid Parentheses.js
1249. Minimum Remove to Make Valid Parentheses.js
125. Valid Palindrome.js
125. Valid Palindrome.js
1253. Reconstruct a 2-Row Binary Matrix.js
1253. Reconstruct a 2-Row Binary Matrix.js
1254. Number of Closed Islands.js
1254. Number of Closed Islands.js
1260. Shift 2D Grid.js
1260. Shift 2D Grid.js
1267. Count Servers that Communicate.js
1267. Count Servers that Communicate.js
1276. Number of Burgers with No Waste of Ingredients.js
1276. Number of Burgers with No Waste of Ingredients.js
1282. Group the People Given the Group Size They Belong To.js
1282. Group the People Given the Group Size They Belong To.js
1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix.js
1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix.js
1287. Element Appearing More Than 25% In Sorted Array.js
1287. Element Appearing More Than 25% In Sorted Array.js
1288. Remove Covered Intervals.js
1288. Remove Covered Intervals.js
1289. Minimum Falling Path Sum II.js
1289. Minimum Falling Path Sum II.js
129. Sum Root to Leaf Numbers.js
129. Sum Root to Leaf Numbers.js
1291. Sequential Digits.js
1291. Sequential Digits.js
1295. Find Numbers with Even Number of Digits.js
1295. Find Numbers with Even Number of Digits.js
1296. Divide Array in Sets of K Consecutive Numbers.js
1296. Divide Array in Sets of K Consecutive Numbers.js
1299. Replace Elements with Greatest Element on Right Side.js
1299. Replace Elements with Greatest Element on Right Side.js
13. Roman to Integer.js
13. Roman to Integer.js
130. Surrounded Regions.js
130. Surrounded Regions.js
1302. Deepest Leaves Sum.js
1302. Deepest Leaves Sum.js
1304. Find N Unique Integers Sum up to Zero.js
1304. Find N Unique Integers Sum up to Zero.js
View all files
You can’t perform that action at this time.