Skip to content

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEETCODE Crack SQL Interview in 50 Qs

image

A fully–documented collection of solutions to the LeetCode SQL-50 problems. The goal isn’t just to get the right answer, but to explain the reasoning.

Why this repository?

“It is a strange situation where in order to understand something, I must be able to teach it to others, and I’ve found this really works for me. ” — Duncan McArdle

Feel free to PR an alternative approach to any of the questions.

What’s inside each solution file?

  1. Problem Statement: A concise restatement of the task (including the relevant table schema).
  2. Approach : A step-by-step outline of the thought process.
  3. SQL Solution : The final query.