DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Delete Node in a BST

Delete Node in a BST

1
Comments
2 min read
Recover Binary Search Tree

Recover Binary Search Tree

1
Comments
1 min read
Max Area of Island

Max Area of Island

1
Comments
2 min read
Encode and Decode TinyURL

Encode and Decode TinyURL

1
Comments
1 min read
Convert Sorted Array to Binary Search Tree

Convert Sorted Array to Binary Search Tree

1
Comments
1 min read
Additive Number

Additive Number

1
Comments
1 min read
Trapping Rain Water

Trapping Rain Water

1
Comments 1
1 min read
Course Schedule II

Course Schedule II

Comments
2 min read
Maximum Number of Words You Can Type

Maximum Number of Words You Can Type

1
Comments
1 min read
Is Subsequence

Is Subsequence

1
Comments
1 min read
Find All People With Secret

Find All People With Secret

1
Comments
3 min read
Reverse Pairs

Reverse Pairs

1
Comments
1 min read
Remove K Digits

Remove K Digits

1
Comments
1 min read
Longest Palindromic Substring

Longest Palindromic Substring

1
Comments
1 min read
Can Place Flowers

Can Place Flowers

1
Comments
1 min read
Rings and Rods | Leetcode Problem Solution Using Bit Manipulation

Rings and Rods | Leetcode Problem Solution Using Bit Manipulation

7
Comments
2 min read
Longest Word in Dictionary through Deleting

Longest Word in Dictionary through Deleting

1
Comments
1 min read
Most Frequent Number Following Key In an Array

Most Frequent Number Following Key In an Array

1
Comments
1 min read
Sort Integers by The Number of 1 Bits

Sort Integers by The Number of 1 Bits

1
Comments
1 min read
Minimum Depth of Binary Tree

Minimum Depth of Binary Tree

1
Comments
1 min read
Longest Increasing Subsequence

Longest Increasing Subsequence

1
Comments
1 min read
Perfect Number

Perfect Number

1
Comments
1 min read
Decompress Run-Length Encoded List

Decompress Run-Length Encoded List

1
Comments
1 min read
Hamming Distance

Hamming Distance

1
Comments
1 min read
Ugly Number II

Ugly Number II

1
Comments
1 min read
Count Special Quadruplets

Count Special Quadruplets

1
Comments
1 min read
Encrypt and Decrypt Strings

Encrypt and Decrypt Strings

Comments
3 min read
Surrounded Regions

Surrounded Regions

1
Comments
2 min read
Convert Binary Number in a Linked List to Integer

Convert Binary Number in a Linked List to Integer

1
Comments
1 min read
Binary Tree Inorder Traversal

Binary Tree Inorder Traversal

1
Comments
1 min read
Climbing Stairs

Climbing Stairs

1
Comments
1 min read
Longest Common Prefix

Longest Common Prefix

1
Comments
2 min read
Reverse String

Reverse String

Comments
1 min read
Closest Divisors

Closest Divisors

Comments
1 min read
Verifying an Alien Dictionary

Verifying an Alien Dictionary

Comments
1 min read
Cells with Odd Values in a Matrix

Cells with Odd Values in a Matrix

Comments
2 min read
Palindrome Partitioning II

Palindrome Partitioning II

Comments
1 min read
Median of Two Sorted Arrays

Median of Two Sorted Arrays

Comments
1 min read
Restore the Array From Adjacent Pairs

Restore the Array From Adjacent Pairs

Comments
2 min read
Validate Binary Search Tree

Validate Binary Search Tree

Comments
1 min read
Broken Calculator

Broken Calculator

Comments
1 min read
Design HashMap

Design HashMap

Comments
2 min read
Minimum Sum of Four Digit Number After Splitting Digits

Minimum Sum of Four Digit Number After Splitting Digits

Comments
1 min read
Find Numbers with Even Number of Digits

Find Numbers with Even Number of Digits

Comments
1 min read
Minimum Insertion Steps to Make a String Palindrome

Minimum Insertion Steps to Make a String Palindrome

Comments
1 min read
Minimum Moves to Reach Target Score

Minimum Moves to Reach Target Score

Comments
1 min read
Car Pooling

Car Pooling

1
Comments 1
1 min read
Alert Using Same Key-Card Three or More Times in a One Hour Period

Alert Using Same Key-Card Three or More Times in a One Hour Period

Comments
2 min read
Minimum Time to Complete Trips

Minimum Time to Complete Trips

Comments
2 min read
Flower Planting With No Adjacent

Flower Planting With No Adjacent

Comments
2 min read
Koko Eating Bananas

Koko Eating Bananas

Comments
1 min read
Number of 1 Bits

Number of 1 Bits

Comments
1 min read
Pascal's Triangle

Pascal's Triangle

Comments
1 min read
Minimum Cost of Buying Candies With Discount

Minimum Cost of Buying Candies With Discount

4
Comments
2 min read
Minimum Cost to Move Chips to The Same Position

Minimum Cost to Move Chips to The Same Position

Comments
1 min read
Largest Rectangle in Histogram

Largest Rectangle in Histogram

Comments
2 min read
Single Number II

Single Number II

Comments
1 min read
Number of Pairs of Strings With Concatenation Equal to Target

Number of Pairs of Strings With Concatenation Equal to Target

Comments
1 min read
Group the People Given the Group Size They Belong To

Group the People Given the Group Size They Belong To

Comments
2 min read
Swap Nodes in Pairs

Swap Nodes in Pairs

1
Comments
1 min read
loading...