Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
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 }}
ColstonBod-oy
/
leetcode
Public
forked from
neetcode-gh/leetcode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security
Insights
Files
main
Breadcrumbs
leetcode
/
scala
/
Copy path
Directory actions
More options
Directory actions
More options
Latest commit
History
History
main
Breadcrumbs
leetcode
/
scala
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
0001-two-sum.scala
0001-two-sum.scala
0002-add-two-numbers.scala
0002-add-two-numbers.scala
0003-longest-substring-without-repeating-characters.scala
0003-longest-substring-without-repeating-characters.scala
0007-reverse-integer.scala
0007-reverse-integer.scala
0011-container-with-most-water.scala
0011-container-with-most-water.scala
0015-3sum.scala
0015-3sum.scala
0021-merge-two-sorted-lists.scala
0021-merge-two-sorted-lists.scala
0033-search-in-rotated-sorted-array.scala
0033-search-in-rotated-sorted-array.scala
0056-merge-intervals.scala
0056-merge-intervals.scala
0072-edit-distance.scala
0072-edit-distance.scala
0091-decode-ways.scala
0091-decode-ways.scala
0097-interleaving-string.scala
0097-interleaving-string.scala
0141-linked-list-cycle.scala
0141-linked-list-cycle.scala
0153-find-minimum-in-rotated-sorted-array.scala
0153-find-minimum-in-rotated-sorted-array.scala
0198-house-robber.scala
0198-house-robber.scala
0206-reverse-linked-list.scala
0206-reverse-linked-list.scala
0208-implement-trie-prefix-tree.scala
0208-implement-trie-prefix-tree.scala
0211-design-add-and-search-words-data-structure.scala
0211-design-add-and-search-words-data-structure.scala
0213-house-robber-ii.scala
0213-house-robber-ii.scala
0215-kth-largest-element-in-an-array.scala
0215-kth-largest-element-in-an-array.scala
0217-contains-duplicate.scala
0217-contains-duplicate.scala
0230-kth-smallest-element-in-a-bst.scala
0230-kth-smallest-element-in-a-bst.scala
0235-lowest-common-ancestor-of-a-binary-search-tree.scala
0235-lowest-common-ancestor-of-a-binary-search-tree.scala
0242-valid-anagram.scala
0242-valid-anagram.scala
0322-coin-change.scala
0322-coin-change.scala
0347-top-k-frequent-elements.scala
0347-top-k-frequent-elements.scala
0394-decode-string.scala
0394-decode-string.scala
0435-non-overlapping-intervals.scala
0435-non-overlapping-intervals.scala
0485-max-consecutive-ones.scala
0485-max-consecutive-ones.scala
0509-fibonacci-number.scala
0509-fibonacci-number.scala
0572-subtree-of-another-tree.scala
0572-subtree-of-another-tree.scala
0665-non-decreasing-array.scala
0665-non-decreasing-array.scala
0746-min-cost-climbing-stairs.scala
0746-min-cost-climbing-stairs.scala
View all files
You can’t perform that action at this time.