## Repeated Deletion Sequel

Given a string s and an integer k, repeatedly delete the earliest k consecutive duplicate characters.

Given a string s and an integer k, repeatedly delete the earliest k consecutive duplicate characters.

You are given a list of positive integers ribbons and an integer k. Given that you can cut the ribbons as many times as you want, return the largest r such t...

Given a two-dimensional list of integers matrix containing 1s and 0s, return the total number of submatrices with all 1 s.

You are given a list of integers nums and a two-dimensional list of integers ranges. Each element in ranges contains [i, j], meaning to sum the numbers in nu...

You are given a two-dimensional integer matrix matrix containing 1s and 0s. 1 represents land and 0 represents water. An island is a group of 1s that are nei...

Given an undirected graph as an adjacency list, return whether the graph has an odd length cycle.

Given an undirected graph represented as an adjacency list, return whether the graph is bipartite.

You are given a list of integers candies and are playing a game against a friend. In each round, a person can remove any two consecutive candies with the sam...

Given a string s, find the length of the longest substring that contains at most 2 distinct characters.

You are given a list of integers nums containing 1s and 0s and an integer k. Consider an operation where we flip a sublist of length k such that all 1s becom...

Given a lowercase alphabet string s, return the number of palindromic substrings in s.

Given a singly linked list node, and integers i and j, reverse the linked list from i to jth nodes, 0 indexed and inclusive.