FOUNDING PRICING · 40% OFFfor the first 1,000 members · from ₹95/month

Learn DSA the way you will be examined
on it.

A problem workspace with a real judge behind it, editorials written to be read rather than watched, and one plan that unlocks everything. The free month is 20 full problems, not a crippled demo.

sum-to-n.pyjudge · self-hosted
$ submit --cases alltest 01test 02test 03test 04test 05test 06test 07test 08test 09test 10RUNNINGACCEPTED10 / 10 tests passedruntime 16 ms · memory 3.3 MBsandboxed · no network · seven of the ten are hidden

Every reference solution is executed against every test case before a problem publishes. The judge checks our work before it checks yours.

every problem is tagged with the companies that ask it

AmazonMicrosoftGoogleAdobeFlipkartTCSInfosysWipro

tags describe interview frequency, no endorsement implied · Codevizag

402
problems, each with a hidden suite
502
theory lessons with diagrams
06
languages the judge accepts
10
test cases on every problem
20
free problems, every month
₹95
per month on the founding plan

01 / try one

Don’t take our word for it. Run something.

This is a real problem from the catalogue, wired to the real judge. No account. Write the function, press Run, and your code is executed against all 10 cases, 7 of which you cannot see.

⌘ / Ctrl + Enter runs

Add Up the First n Numbers

EASY

You are given a single whole number n. Add up every whole number from 1 to n and print the total.

If n is 0 there is nothing to add, and the total is 0.

Input. One line holding n.

Output. One line holding the total.

samples

inputexpected output
00
11
1055
  • 0 <= n <= 10^9
  • The answer can exceed the range of a 32-bit integer, so use a 64-bit type.

$ waiting for a submission

02 / workspace

A workspace that behaves like the interview.

Monaco editor, 6 judged languages, multiple attempts held in tabs, autosave under two seconds. Run against the visible cases; submit against the ten you cannot see.

Hidden cases are not hostility. They are what makes a green tick mean something. A suite you can read is a suite you can hardcode.

Tab 1 · C++Tab 2 · Pythonautosaved

1 int stepsToOne(long long n) {

2 int steps = 0;

3 while (n != 1) {

4 n = n % 2 == 0 ? n / 2 : 3 * n + 1;

5 steps++;

6 }

7 return steps;

8 }

dry run · 2 of 4

6 is even, so n becomes 3 and steps becomes 1. 3 is odd, so n becomes 10 and steps becomes 2.

‹ prev● ● ○ ○next ›

03 / editorials

Editorials written to be read.

Every problem carries named approaches, brute force to optimal, each with its intuition, a stepped dry run, complexity you can argue with, and solutions in three languages.

No video to scrub through. The writing has to carry you, so it is edited until it does.

04 / the judge

A judge that checks our work first.

Self-hosted, sandboxed, no network egress. Before a problem publishes, its reference solution must pass all 10 cases in every authored language, inside the same limits you get.

If our solution cannot pass our suite, you never see the problem. That rule has already caught bugs a learner would otherwise have found for us.

test 017789pass
test 022468pass
test 030pass
test 04hiddenpass
test 10hiddenpass

05 / the syllabus

One path, from your first loop to the design round.

Problems are ordered so that nothing assumes a topic you have not met yet. The theory subjects sit beside them for the rounds that are a conversation rather than a compiler.

402 problems · 502 lessons · 7 subjects

dsa · stage 1 of 3

Concept Lessons

0 problems

  1. 01Foundations Explained0
  2. 02Data Structures Explained0
  3. 03Algorithm Patterns0

dsa · stage 2 of 3

Foundations

131 problems

  1. 01Programming Basics16
  2. 02Maths Essentials20
  3. 03Arrays30
  4. 04Hashing20
  5. 05Strings23
  6. 06Recursion22

dsa · stage 3 of 3

Core

271 problems

  1. 01Sorting18
  2. 02Binary Search21
  3. 03Two Pointers and Sliding Window22
  4. 04Linked Lists21
  5. 05Stacks and Queues22
  6. 06Trees24
  7. 07Binary Search Trees16
  8. 08Heaps18
  9. 09Greedy18
  10. 10Graphs28
  11. 11Dynamic Programming35
  12. 12Tries12
  13. 13Bit Manipulation16
operating systems · deadlocksfig. 1
Thread A holds lock L1 and wants L2 while thread B holds L2 and wants L1; the two waits form a cycle.

06 / theory

Theory you can see.

Thread A holds lock L1 and wants L2. Thread B holds L2 and wants L1. Neither can proceed, neither will give up what it holds, and nothing external intervenes. Both wait forever.

Every real deadlock, however baroque, is this story with more characters. That is how each of the 502 lessons is written: one picture drawn for the idea, a worked example, and what the interviewer is actually probing for.

Read the whole lesson

07 / the one plan

One plan. Priced by duration, never by features.

Everything is in it: every problem, every editorial, every hint. The slider on the pricing page changes how long, not how much product you get.

Without paying, you keep 20 full problems a month in the same workspace, and everything you have solved stays open forever.

founding member · first 1,000

₹95 / month

₹1,139 a year · list ₹1,899

  • Every problem and editorial
  • Progressive hints, judged in 6 languages
  • Renewals extend your term, never reset it
See the plan

08 / voices

What the founding cohort says.

“

The hidden cases caught my hardcoded answer in one submit. That is when I realised the green tick here actually means something.

Placeholder, founding member

replace with a real quote before launch

“

I stopped scrubbing through forty-minute videos. The dry runs read in two minutes and I can argue with the complexity section.

Placeholder, founding member

replace with a real quote before launch

“

Twenty free problems a month in the full workspace is a real trial. I paid because the judge was worth it, not because I hit a wall.

Placeholder, founding member

replace with a real quote before launch

09 / questions

Asked, answered.

Everything below is a promise about how the product works today, not aspiration.

20 problems a month are already free

The judge is waiting to be wrong about you.

10 / contact

Talk to a person.

support & billing

support@codevizag.com

Replies come from the people who built this, usually within a day.

where

Visakhapatnam, Andhra Pradesh, India