The Archive

Every CodeShot challenge, ever. Practice, learn, and fill the gaps.

41 questions
No questions match your search.
May 15 JAVASCRIPT
JavaScript Try...Finally — Which Value is Returned?
Mid-Level
May 14 JAVASCRIPT
JavaScript Map vs WeakMap — What is the Output?
Senior
May 13 JAVASCRIPT
JavaScript Object Spread — What is the Final Output?
Junior
May 12 JAVASCRIPT
JavaScript Object Deletion — What Happens Here?
Mid-Level
May 11 JAVASCRIPT
JavaScript Promises — What is the Final Output?
Senior
May 10 JAVASCRIPT
JavaScript Hoisting — Can You Call This Function?
Mid-Level
May 09 JAVASCRIPT
JavaScript Arrays — What happens at a non-existent index?
Junior
May 08 JAVASCRIPT
JavaScript Array.sort() — Why is the Order Wrong?
Mid-Level
May 07 JAVASCRIPT
JavaScript Event Listeners — Spot the Memory Leak Bug
Senior
May 06 JAVASCRIPT
JavaScript Sets — Can You Spot the Bug?
Mid-Level
May 05 JAVASCRIPT
JavaScript Comparison Operators — Spot the Bug!
Junior
May 04 JAVASCRIPT
JavaScript Async/Await — Spot the Bug!
Senior
May 03 JAVASCRIPT
JavaScript Timers — Spot the Bug: setInterval vs setTimeout
Mid-Level
May 02 JAVASCRIPT
JavaScript Array Map — Why is this console.log ignored?
Junior
May 01 JAVASCRIPT
JavaScript Type Coercion — What does this output?
Junior
Apr 30 JAVASCRIPT
JavaScript Closures — What Gets Logged?
Senior
Apr 29 JAVASCRIPT
JavaScript Array.indexOf — What does this print?
Mid-Level
Apr 28 JAVASCRIPT
JavaScript Truthy & Falsy — What is the Output?
Junior
Apr 27 JAVASCRIPT
JavaScript Object.freeze — What gets logged?
Senior
Apr 26 JAVASCRIPT
JavaScript Type Coercion — What does this output?
Mid-Level
Apr 25 JAVASCRIPT
JavaScript Type Coercion — What does this print?
Junior
Apr 24 JAVASCRIPT
JS Generator Function - What does next().value print twice?
Senior
Apr 23 JAVASCRIPT
JavaScript Map Size
Mid-Level
Apr 22 JAVASCRIPT
JavaScript Nullish Coalescing
Senior
Apr 21 JAVASCRIPT
JavaScript Array Method - Unraveling Depth
Mid-Level
Apr 20 JAVASCRIPT
JS Closure - What gets logged?
Senior
Apr 19 JAVASCRIPT
javascript Variable Shadowing
Mid-Level
Apr 18 JAVASCRIPT
JavaScript String Concatenation
Junior
Apr 17 JAVASCRIPT
JavaScript Default Parameters
Mid-Level
Apr 16 JAVASCRIPT
JavaScript Equality - What's the Default Value?
Mid-Level
Apr 15 JAVASCRIPT
JavaScript Closures - What gets logged in a closure?
Senior
Apr 14 JAVASCRIPT
JavaScript Truthy Values
Junior
Apr 13 JAVASCRIPT
JS Conditional Operators
Mid-Level
Apr 12 JAVASCRIPT
JavaScript NaN Type
Senior
Apr 11 JAVASCRIPT
JavaScript Mutable Reference Error
Mid-Level
Apr 10 JAVASCRIPT
JavaScript Giant Numbers
Senior
Apr 09 JAVASCRIPT
JavaScript + Empty Array + Object
Mid-Level
Apr 08 JAVASCRIPT
JavaScript Array Concatenation
Junior
Apr 07 JAVASCRIPT
JavaScript Timers: What GetsLogged?
Senior
Apr 06 JAVASCRIPT
JavaScript Float Precision Issue
Mid-Level
Apr 05 JAVASCRIPT
JavaScript Null Type Inference
Mid-Level

Master JavaScript, Python, SQL, and CSS

The CodeShot Archive is a curated collection of real-world interview questions and logic puzzles. Instead of scrolling through endless theory, you can jump straight into the code that matters.

JavaScript Fundamentals

Deep dive into closures, hoisting, the event loop, and tricky coercion bugs. Our JavaScript archive covers everything from ES6+ features to legacy browser quirks.

Python Logic

Practice list comprehensions, decorators, dunder methods, and Pythonic patterns. Perfect for data scientists and backend engineers alike.

SQL Mastery

Master complex JOINs, window functions, and aggregation logic. Solve the kind of data puzzles you'll actually face in technical interviews.

Modern CSS

Test your knowledge of Flexbox, Grid, specificity, and modern CSS properties. Build a visual intuition for how layouts really work.

Why Use the Archive?

  • Interview Readiness: Many of these questions are adapted from real technical interviews at top tech companies.
  • Active Recall: Instead of reading, you're solving. This is the most effective way to retain programming knowledge.
  • Detailed Explanations: Every archived question comes with a breakdown of why the answer is correct.