All Posts

Sort Array By Parity Problem

LeetCode 905. Given an integer array nums, move all the...

Sort Array By Parity II Problem

LeetCode 922. Given an array of integers nums, half of...

Sort An Array Problem

LeetCode 912. Given an array of integers nums, sort the...

Snakes And Ladders Problem

LeetCode 909. You are given an n x n integer...

Smallest Subtree With All The Deepest Nodes Problem

LeetCode 865. Given the root of a binary tree, the...

Smallest String Starting From Leaf Problem

LeetCode 988. You are given the root of a binary...

Smallest Range I Problem

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

Similar String Groups Problem

LeetCode 839. Two strings Xand Yare similar if we can...


Shortest Subarray With Sum At Least K Problem

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

Shortest Path Visiting All Nodes Problem

LeetCode 847. You have an undirected, connected graph of n...

Shortest Distance To A Character Problem

LeetCode 821. Given a string s and a character c...

Shortest Bridge Problem

LeetCode 934. You are given an n x n binary...

Short Encoding Of Words Problem

LeetCode 820. A valid encoding of an array of words...

Shifting Letters Problem

LeetCode 848. You are given a string s of lowercase...

Score Of Parentheses Problem

LeetCode 856. Given a balanced parentheses string s, return the...