All Posts

What is the Difference Between Git Pull and Git Fetch (Short Answer)

Short answers to the question what is the difference between...

How to Revert a Git Repository to a Previous Commit (Short Answer)

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

How to Modify Existing Unpushed Commit Messages (Short Answer)

Short answers to the question how to modify existing unpushed...

Spiral Matrix Problem

LeetCode 54. Given an m x n matrix, return all...

Spiral Matrix II Problem

LeetCode 59. Given a positive integer n, generate an n...

Permutation Sequence Problem

LeetCode 60. Given n and k, return the kth permutation...


N-Queens Problem

LeetCode 51. Given an integer n, return all distinct solutions...

N-Queens II Problem

LeetCode 52. Given an integer n, return the number of...

Maximum Subarray Problem

LeetCode 53. Given an integer array nums, find the contiguous...

Length Of Last Word Problem

LeetCode 58. Given a string s consisting of some words...

Jump Game Problem

LeetCode 55. Given an m x n matrix, return all...

Insert Interval Problem

LeetCode 57. Insert newInterval into intervals such that intervals is...

Zigzag Conversion Problem

LeetCode 6. Write the code that will take a string...

Wildcard Matching Problem

LeetCode 44. Write the code that will take a string...


Search in Rotated Sorted Array Problem

LeetCode 36. Determine if a 9 x 9 Sudoku board...

Trapping Rain Water Problem

LeetCode 42. Given n non-negative integers representing an elevation map...