All Posts

Binary Watch Problem

LeetCode 401. A binary watch has 4 LEDs on the...

Binary Tree Tilt Problem

LeetCode 563. Given the root of a binary tree, return...

Beautiful Arrangement Problem

LeetCode 526. Suppose you have n integers labeled 1 through...

Battleships In A Board Problem

LeetCode 419. Given an m x n matrix board where...

Base 7 Problem

LeetCode 504. Given an integer num, return a string of...

Assign Cookies Problem

LeetCode 455. Assume you are an awesome parent and want...

Array Partition I Problem

LeetCode 561. Given an integer array nums of 2n integers,...


Array Nesting Problem

LeetCode 565. You are given an integer array nums of...

Arranging Coins Problem

LeetCode 441. You have n coins and you want to...

Arithmetic Slices Problem

LeetCode 413. An integer array is called arithmetic if it...

Arithmetic Slices II - Subsequence Problem

LeetCode 446. Given an integer array nums, return the number...

All O'One Data Structure Problem

LeetCode 432. Design a data structure to store the strings...

Add Two Numbers II Problem

LeetCode 445. You are given two non-empty linked lists representing...

Add Strings Problem

LeetCode 415. Given two non-negative integers, num1 and num2 represented...

132 Pattern Problem

LeetCode 456. Given an arrayof n integers nums, a 132...


01 Matrix Problem

LeetCode 542. Given an m x n binary matrix mat,...