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 }}
mstepan
/
leetcode-java
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
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
Commits
Breadcrumbs
History for
leetcode-java
src
main
java
com
github
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 14, 2026
1049. Last Stone Weight II solved for fun.
Maksym Stepanenko
committed
0840654
View commit details
Copy full SHA for 0840654
View code at this point
Browse repository at this point
Commits on Sep 11, 2026
581. Shortest Unsorted Continuous Subarray. Solved for fun.
Maksym Stepanenko
committed
4c25ad0
View commit details
Copy full SHA for 4c25ad0
View code at this point
Browse repository at this point
Commits on Aug 31, 2026
670. Maximum Swap. Highly optimized and single pass.
Maksym Stepanenko
committed
bf61f57
View commit details
Copy full SHA for bf61f57
View code at this point
Browse repository at this point
670. Maximum Swap. Accepted.
Maksym Stepanenko
committed
621eb14
View commit details
Copy full SHA for 621eb14
View code at this point
Browse repository at this point
Commits on Aug 4, 2026
LFU small code refactoring.
Maksym Stepanenko
committed
35bb33c
View commit details
Copy full SHA for 35bb33c
View code at this point
Browse repository at this point
460. LFU Cache. Solved with detailed implementation prompt.
Maksym Stepanenko
committed
8ce8fee
View commit details
Copy full SHA for 8ce8fee
View code at this point
Browse repository at this point
460. LFU Cache template added.
Maksym Stepanenko
committed
907f1fe
View commit details
Copy full SHA for 907f1fe
View code at this point
Browse repository at this point
Commits on Aug 3, 2026
2008. Maximum Earnings From Taxi. solved for fun.
Maksym Stepanenko
committed
ba49a36
View commit details
Copy full SHA for ba49a36
View code at this point
Browse repository at this point
Commits on Jul 30, 2026
Code slightly optimized.
Maksym Stepanenko
committed
e8f6bb0
View commit details
Copy full SHA for e8f6bb0
View code at this point
Browse repository at this point
1594. Maximum Non Negative Product in a Matrix/ Solved for fun.
Maksym Stepanenko
committed
2a1fad6
View commit details
Copy full SHA for 2a1fad6
View code at this point
Browse repository at this point
Commits on Jul 19, 2026
UndergroundSystem made thread safe and non-blocking.
Maksym Stepanenko
committed
0bd7492
View commit details
Copy full SHA for 0bd7492
View code at this point
Browse repository at this point
1396. Design Underground System. Simple version solved for fun without LLM.
Maksym Stepanenko
committed
9ee7a36
View commit details
Copy full SHA for 9ee7a36
View code at this point
Browse repository at this point
Commits on Jul 12, 2026
3890. Integers With Multiple Sum of Two Cubes. Solved.
Maksym Stepanenko
committed
f670d4b
View commit details
Copy full SHA for f670d4b
View code at this point
Browse repository at this point
3890. Integers with multiple sum of two cubes. Leetcode solved for fun.
Maksym Stepanenko
committed
009740d
View commit details
Copy full SHA for 009740d
View code at this point
Browse repository at this point
Commits on Jul 10, 2026
443 leetcode solved without LLM.
Maksym Stepanenko
committed
d8cdc75
View commit details
Copy full SHA for d8cdc75
View code at this point
Browse repository at this point
Commits on Jun 28, 2026
3030. Find the Grid of Region Average. Fully solved without LLM.
Maksym Stepanenko
committed
291acf5
View commit details
Copy full SHA for 291acf5
View code at this point
Browse repository at this point
Commits on Jun 19, 2026
Version optimi9zed by LLM.
Maksym Stepanenko
committed
c03fc89
View commit details
Copy full SHA for c03fc89
View code at this point
Browse repository at this point
1163. Last Substring in Lexicographical Order. Fully solved.
Maksym Stepanenko
committed
e543989
View commit details
Copy full SHA for e543989
View code at this point
Browse repository at this point
1163. Last Substring in Lexicographical Order. Almost solved using SUFFIX array approach and sorting.
Maksym Stepanenko
committed
7ffea72
View commit details
Copy full SHA for 7ffea72
View code at this point
Browse repository at this point
Commits on Jun 17, 2026
447. Number of Boomerangs. Solved for fun.
Maksym Stepanenko
committed
78754d8
View commit details
Copy full SHA for 78754d8
View code at this point
Browse repository at this point
Commits on May 11, 2026
712 leetcode solved (#1)
Show description for ece606d
mstepan
authored
ece606d
View commit details
Copy full SHA for ece606d
View code at this point
Browse repository at this point
Commits on Apr 1, 2026
1718. Construct the Lexicographically Largest Valid Sequence. Solved with additional prunning.
mstepan
committed
3375292
View commit details
Copy full SHA for 3375292
View code at this point
Browse repository at this point
1718. Construct the Lexicographically Largest Valid Sequence. Almost solved. TLE.
mstepan
committed
413fe98
View commit details
Copy full SHA for 413fe98
View code at this point
Browse repository at this point
Commits on Mar 31, 2026
207. Course Schedule solved for fun.
mstepan
committed
92040c9
View commit details
Copy full SHA for 92040c9
View code at this point
Browse repository at this point
Commits on Mar 30, 2026
1578. Minimum Time to Make Rope Colorful solved for fun.
mstepan
committed
743bf71
View commit details
Copy full SHA for 743bf71
View code at this point
Browse repository at this point
424. Longest Repeating Character Replacement solved for fun.
mstepan
committed
d86a504
View commit details
Copy full SHA for d86a504
View code at this point
Browse repository at this point
Commits on Mar 23, 2026
845. Longest Mountain in Array. Solved for fun.
mstepan
committed
c6b78c3
View commit details
Copy full SHA for c6b78c3
View code at this point
Browse repository at this point
Commits on Mar 20, 2026
3723. Maximize Sum of Squares of Digits solved for fun.
mstepan
committed
7172644
View commit details
Copy full SHA for 7172644
View code at this point
Browse repository at this point
Commits on Mar 19, 2026
2400: Number of Ways to Reach a Position After Exactly k Steps. solved for fun without LLM
mstepan
committed
c3e91ea
View commit details
Copy full SHA for c3e91ea
View code at this point
Browse repository at this point
Commits on Mar 17, 2026
430. Flatten a Multilevel Doubly Linked List. solved for fun
mstepan
committed
68d1f2a
View commit details
Copy full SHA for 68d1f2a
View code at this point
Browse repository at this point
Commits on Mar 11, 2026
2280. Minimum Lines to Represent a Line Chart solved for fun.
mstepan
committed
3d2268a
View commit details
Copy full SHA for 3d2268a
View code at this point
Browse repository at this point
Commits on Mar 9, 2026
396. Rotate Function implemented for fun.
mstepan
committed
ad1fc72
View commit details
Copy full SHA for ad1fc72
View code at this point
Browse repository at this point
2226. Maximum Candies Allocated to K Children solved for fun
mstepan
committed
b591110
View commit details
Copy full SHA for b591110
View code at this point
Browse repository at this point
Commits on Mar 4, 2026
Bookmap binary serach the answer added + unit tests generated with LLM
mstepan
committed
1df5a83
View commit details
Copy full SHA for 1df5a83
View code at this point
Browse repository at this point
Solution for devtest2.hr.bookmap.com added
mstepan
committed
bccdcf4
View commit details
Copy full SHA for bccdcf4
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.