All Posts

Linked List Components Problem

LeetCode 817. You are given the head of a linked...

Length Of Longest Fibonacci Subsequence Problem

LeetCode 873. Given a strictly increasing array arr of positive...

Least Operators To Express Number Problem

LeetCode 964. Given a single positive integer x, we will...

Leaf-Similar Trees Problem

LeetCode 872. Consider all the leaves of a binary tree,...

Largest Triangle Area Problem

LeetCode 812. Given an array of points on the X-Y...

Largest Time For Given Digits Problem

LeetCode 949. Given an arrayarr of 4 digits, find the...


Largest Sum Of Averages Problem

LeetCode 813. You are given an integer array nums and...

Largest Perimeter Triangle Problem

LeetCode 976. Given an integer array nums, return the largest...

K-Similar Strings Problem

LeetCode 854. Strings s1 and s2 are k-similar (for some...

K Closest Points To Origin Problem

LeetCode 973. Given an array of points where points[i] =...

Increasing Order Search Tree Problem

LeetCode 897. Given the root of a binary search tree,...

Hand Of Straights Problem

LeetCode 846. Alice has some number of cards and she...

Groups Of Special-Equivalent Strings Problem

LeetCode 893. You are given an array of strings of...

Fruit Into Baskets Problem

LeetCode 904. You are visiting a farm that has a...


Flip String To Monotone Increasing Problem

LeetCode 926. A binary string is monotone increasing if it...

Flip Equivalent Binary Trees Problem

LeetCode 951. For a binary tree T, we can define...