Competitive Programming Platform

Master
Competitive
Programming.

Write code in your browser. Get instant feedback. Track progress. Compete globally.

Used by 2,000+ developers preparing for top-company interviews.

solution.pyproblem.md
Python 3.11UTF-8
1. Two SumEasy
1def twoSum(nums, target):
2 seen = {} # hash map: value → index
3 for i, num in enumerate(nums):
4 complement = target - num
5 if complement in seen:
6 return [seen[complement], i]
7 seen[num] = i
8 return []
Console3 / 3 passed
Test 1nums=[2,7,11,15], target=91ms
Test 2nums=[3,2,4], target=60ms
Test 3nums=[3,3], target=60ms
Runtime: 1ms · Memory: 14.2 MB · O(n) time complexity

Trusted by engineers at

GoogleAmazonMicrosoftMetaNetflixOnlyFans

Engineers preparing for interviews at top companies use DexCode daily.

Everything You Need to Level Up

A complete competitive programming workflow — from problem practice to global competition.

Real-Time Code Execution

Run your solutions instantly against example test cases directly in your browser. Sub-second sandboxed execution with detailed output and error traces.

Judge0-Powered Grading

Submit and get graded against hidden test cases. Get an ACCEPTED badge or pinpoint exactly which test failed.

Progress Tracking

Visual heatmaps, topic mastery charts, and rating history. Know exactly where you stand.

Discussions & Community

Learn from editorial explanations and community approaches after each problem. Vote, comment, and grow.

Multi-Language Support

Write in Python, Java, JavaScript, C++, Go, Rust, and 20+ more languages. Same experience, every language.

Problem Ratings & Filters

Filter by difficulty, topic, company, or rating. Build targeted practice sessions and never waste a session.

Product Roadmap

Where we are, where we're going, and what's coming next.

Now

Live
  • Core problem solving environment
  • Real-time code judging (Judge0)
  • Multi-language support (C++, Python, Java, JS)
  • Problem discussions
  • User authentication (OAuth)

Next

In Progress
  • Submission analytics dashboard
  • Advanced problem filtering
  • User profiles & badges
  • Company-specific problem tags
  • Difficulty rating system

Coming Soon

Planned
  • Curated problem playlists
  • Live contests & rankings
  • Company interview tracks
  • AI-powered hints
  • Team competitions

What Developers Are Saying

Engineers who used DexCode to land their dream roles.

DexCode feels like a serious alternative to LeetCode. Clean UI, instant feedback, and no distractions. I used it for 2 months before my Google interview and got the offer.

AC
Alex Chen
Software Engineer · Google

The code execution speed is impressive. No lag, no hanging tabs, no copying to a local IDE. Everything I need is right there in the problem view.

SK
Sarah Kim
Senior SWE · Amazon

I've been using DexCode to prep for system design and algorithmic interviews. The problem quality is excellent and the editorial explanations are the best I've seen.

MJ
Marcus Johnson
Backend Engineer · Stripe

As someone who prefers C++ for competitive programming, DexCode's multi-language support is a game changer. The judge is accurate and fast.

PS
Priya Sharma
Software Engineer · Microsoft

The discussion threads after each problem are incredibly useful. Seeing multiple approaches to the same problem accelerated my learning more than any course.

DP
David Park
Full Stack Engineer · Meta

I switched from LeetCode after a week. The interface is cleaner, the problems are well-organized, and the progress tracking helps me stay consistent.

LM
Lena Müller
Software Engineer · Netflix

Start Solving Today.

No credit card required.