Code
Visual
Java & Python execution visualizer
✎ Editor
Groups
LeetCode questions
✎ Edit code
▶ Run & Visualize
Light theme
Admin
Sign out
Code
Visual
Sign in
Username
Password
Repeat password
Sign in
Accounts are invite-only — ask an admin for an invite link.
Groups
create a group, or join one to share questions and code
Create group
Group topic
Generate group invite
+ LeetCode question
+ Blank question
Add
Cancel
Group schedule
Schedule notes
Add
Review suggestions — questions due another look
All topics
All difficulties
Easy
Medium
Hard
Saved by anyone
Newest first
Oldest first
← Back
Admin
User
Role
Status
Created
Actions
LeetCode catalog
First 1,000 LeetCode samples
x
All difficulties
Easy
Medium
Hard
Loading local catalog...
Group question
Saved code
Your working copy
Save my code
← Back to group
LeetCode mode
Full program
Java
Python
Open on LeetCode
x
Inputs — LeetCode format, one argument per line (or "name = value, …")
⚙ this step runs in the generated test harness —
click to show it
No watched value
Prev change
Next change
Clear
⏮
◀
0 / 0
▶
⏭
Over
Out
⏵●
{ }
harness
Play
Console
next line to run
new object
changed value
⟶ reference
Changed only
Hide args
−
⤢
+
100%