Master Coding One Problem at a Time
Problems
Solve coding challenges from top tech companies
Two Sum
Given an array of integers, return indices of two numbers that add up to target.
Valid Parentheses
Determine if the input string has valid parentheses combinations.
Merge Two Sorted Lists
Merge two sorted linked lists and return as a new sorted list.
Maximum Subarray
Find the contiguous subarray with the largest sum.
Binary Tree Inorder
Return the inorder traversal of a binary tree's node values.
Longest Palindrome
Find the longest palindromic substring in a given string.
Two Sum
EasyDescription
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
Examples
Constraints
- • 2 ≤ nums.length ≤ 10⁴
- • -10⁹ ≤ nums[i] ≤ 10⁹
- • -10⁹ ≤ target ≤ 10⁹
- • Only one valid answer exists
Hints
Test Results
Study Plan
Track your progress and stay motivated
Overall Progress
68%This Week's Schedule
Arrays & Hashing
Monday - 2 problems
Two Pointers
Tuesday - 3 problems
Sliding Window
Wednesday - 2 problems
Stack
Thursday - 3 problems
Binary Search
Friday - 2 problems
"The expert in anything was once a beginner."- Helen Hayes
Study Streak
Days in a row
Keep it up! You're on fire!
Weekly Goals
Quick Actions
Contests
Compete with developers worldwide
Weekly Contest 372
4 problems • 90 minutes
Recent Contests
Weekly Contest 371
Completed • 3,124 participants
Biweekly Contest 118
Completed • 2,856 participants
Weekly Contest 370
Completed • 2,967 participants
Upcoming Schedule
Global Leaderboard
Your Stats
Contest Tips
- • Read all problems first
- • Start with easiest problems
- • Test with edge cases
- • Manage your time wisely
My Lists
Organize your coding problems
Array Problems
Essential array manipulation problems
Dynamic Programming
Master DP with these problems
Tree & Graph
Data structure fundamentals
System Design
High-level design problems
John Doe
@johndoe • Software Engineer at Google
San Francisco, CA • Joined March 2023
Recent Activity
Solved Two Sum
2 hours ago • Easy • Arrays
Participated in Weekly Contest 372
1 day ago • Rank #156
Created list Dynamic Programming
3 days ago • 18 problems
Problem Progress
Skills
Achievements
Preferred Languages
Quick Actions
Leaderboard
Top performers in the community
AlgoWizard
3,721 points
CodeMaster_Pro
3,847 points
ByteNinja
3,654 points
Rankings
| Rank | User | Points | Problems | Contests |
|---|---|---|---|---|
|
4
|
DataStructureGuru
Senior Developer
|
3,542 | 289 | 18 |
|
5
|
PythonMaster
ML Engineer
|
3,398 | 267 | 15 |
|
247
|
You (John Doe)
Software Engineer
|
1,892 | 142 | 8 |
|
248
|
JavaExpert
Backend Developer
|
1,887 | 141 | 7 |
|
249
|
ReactDev
Frontend Developer
|
1,876 | 139 | 9 |
|
250
|
CppCoder
Systems Engineer
|
1,865 | 138 | 6 |
Social Feed
See what the community is solving
CodeMaster_Pro
• 2 hours agoJust solved "Longest Palindromic Substring" in O(n) time! The Manacher's algorithm is mind-blowing 🤯
Longest Palindromic Substring
ByteNinja
• 4 hours agoFinally cracked the Google interview! Thanks to everyone who helped me prepare. The key was consistent practice on this platform 🚀
DataStructureGuru
• 6 hours agoWorking on a challenging Binary Tree problem. Anyone else find level-order traversal tricky at first? 🌳
Binary Tree Level Order Traversal