All Posts

Number Of Subarrays With Bounded Maximum Problem

LeetCode 795. Given an integer array nums and two integers...

Number Of Matching Subsequences Problem

LeetCode 792. Given a string s and an array of...

Number Of Longest Increasing Subsequence Problem

LeetCode 673. Given an integer arraynums, return the number of...

Number Of Atoms Problem

LeetCode 726. Given a string formula representing a chemical formula,return...

Non-Decreasing Array Problem

LeetCode 665. Given an array nums with n integers, your...

Monotone Increasing Digits Problem

LeetCode 738. An integer has monotone increasing digits if and...

Minimum Distance Between BST Nodes Problem

LeetCode 783. Given the root of a Binary Search Tree...

Minimum Ascii Delete Sum For Two Strings Problem

LeetCode 712. Given two strings s1 ands2, return the lowest...


Min Cost Climbing Stairs Problem

LeetCode 746. You are given an integer array cost where...

Merge Two Binary Trees Problem

LeetCode 617. You are given two binary trees root1 and...

Maximum Width Of Binary Tree Problem

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

Maximum Sum Of 3 Non-Overlapping Subarrays Problem

LeetCode 689. Given an integer array nums and an integer...

Maximum Product Of Three Numbers Problem

LeetCode 628. Given an integer array nums, find three numbers...

Maximum Length Of Repeated Subarray Problem

LeetCode 718. Given two integer arrays nums1 and nums2, return...

Maximum Length Of Pair Chain Problem

LeetCode 646. You are given an array of n pairs...

Max Chunks To Make Sorted Problem

LeetCode 769. You are given an integer array arr of...