All Posts

Longest Common Prefix Problem

LeetCode 14. Write a function to find the longest common...

Letter Combinations of a Phone Number Problem

LeetCode 17. Given a string containing digits from 2-9 inclusive,...

Generate Parentheses Problem

LeetCode 22. Given n pairs of parentheses, write a function...

Depth of BST Given Insertion Order Problem

LeetCode 1902. You are given a 0-indexed integer array order...

Container With Most Water Problem

LeetCode 11. Given n non-negative integers a_1, a_2, …, a_n...

Git Short Answers List

A growing list of Git questions and short answers.


How to Undo a Git Add Before Commit (Short Answer)

Short answers to the question how to undo a git...

How to Rename a Local Git Branch (Short Answer)

Short answers to the question how to rename a local...

How to Delete a Git Branch Locally and Remotely (Short Answer)

Short answers to the question how to delete a git...

How to Checkout a Remote Git Branch (Short Answer)

Short answers to the question how to checkout a remote...

How to Undo the Most Recent Local Commit in Git (Short Answer)

Short answers to the question how to undo the most...

Smallest Greater Multiple Made of Two Digits Problem

LeetCode 1999. Given three integers, k, digit1, and digit2, you...

Reverse Prefix of Word Problem

LeetCode 2000. Given a 0-indexed string word and a character...

Users That Actively Request Confirmation Messages Problem

LeetCode 1939. Write an SQL query to find the IDs...


Strong Friendship Problem

LeetCode 1949. Write an SQL query to find all the...

Leetcodify Similar Friends Problem

LeetCode 1919. Write an SQL query to report the similar...