DEV Community

# leetcode

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Simplify Path

Simplify Path

1
Comments
2 min read
Trim a Binary Search Tree

Trim a Binary Search Tree

1
Comments
1 min read
Vertical Order Traversal of a Binary Tree

Vertical Order Traversal of a Binary Tree

1
Comments
2 min read
Intersection of Two Arrays II

Intersection of Two Arrays II

1
Comments
1 min read
Binary Tree Maximum Path Sum

Binary Tree Maximum Path Sum

1
Comments
1 min read
N-Queens

N-Queens

Comments
1 min read
Minimum Number of Operations to Convert Time

Minimum Number of Operations to Convert Time

1
Comments
1 min read
Find Unique Binary String

Find Unique Binary String

1
Comments
1 min read
Capitalize the Title

Capitalize the Title

1
Comments
2 min read
N-ary Tree Preorder Traversal

N-ary Tree Preorder Traversal

1
Comments
1 min read
Count Number of Nice Subarrays

Count Number of Nice Subarrays

1
Comments
1 min read
Stone Game

Stone Game

Comments
1 min read
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
loading...