leetcode.com/problems/minimum-size-subarray-sumGiven an array of positive integers nums and a positive integer target, return the minimal length of a
Since the main concepts I learned for the day are two-pointers and sliding windows, I solved a basic two-pointer problem.

You are given an integer array height of length n. There are n vertical lines drawn such that the two
You are given an integer array nums and an integer k. In one operation, you can pick two numbers from the array,
Given an array of integers nums, calculate the pivot index of this array. The pivot index is the index where the
Given a binary array nums, you should delete one element from it.

You are given the head of a linked list. Delete the middle node, and return the head of remaining linked list
You are given an integer array nums and an integer k.
leetcode.com/problems/determine-if-two-strings-are-close/Two strings are considered close if you can attain one from the other using the following ope

Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.

Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window.

You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You ca
In the world of Dota2, there are two parties: the Radiant and the Dire.The Dota2 senate consists of senators coming from two parties. Now the Senate w
The next greater element of some element x in an array is the first greater element that is to the right of x in the same array.You are given two dist
Problem LinkYou are given a string s and a robot that currently holds an empty string t. Apply one of the following operations until s andt are both e
Problem LinkGiven the root of a binary tree, find the maximum value v for which there exist different nodes a and b...

You have a graph of n nodes. You are given an integer n and an array edges where edges\[i] = \[ai, bi] indicates that there is an edge between ai and

You are given an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may

You are given an n x n integer matrix board where the cells are labeled from 2 to n2 in a Boustrophedon style starting from the bottom left of the boa
A gene string can be represented by an 8-character long string, with choices from 'A', 'C', 'G', and 'T'.Suppose we need to investigate a mutation fro

You are given a list of bombs. The range of a bomb is defined as the area where its effect can be felt. This area is in the shape of a circle with the
A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words beginWord -> s1 -> s2 -> ... -> sk su
You are given an integer finalSum. Split it into a sum of a maximum number of unique positive even integers.For example, given finalSum = 12, the foll
You are given a string num consisting of digits only.Return the largest palindromic integer (in the form of a string) that can be formed using digits
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i

Given an array of integers nums and an integer threshold, we will choose a positive integer divisor, divide all the array by it, and sum the division'

You have one chocolate bar that consists of some chunks. Each chunk has its own sweetness given by the array sweetness.You want to share the chocolate

Given a directed acyclic graph (DAG) of n nodes labeled from 0 to n - 1, find all possible paths from node 0 to node n - 1 and return them in any orde
Given two integers n and k, return an array of all the integers of length n where the difference between every two consecutive digits is k. You may re
A valid IP address consists of exactly four integers separated by single dots. Each integer is between 0 and 255 (inclusive) and cannot have leading z
You are given an integer array cost where cost\[i] is the cost of ith step on a staircase. Once you pay the cost, you can either climb one or two step

You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money.Return t
You are given an array prices where pricesi is the price of a given stock on the ith day, and an integer fee representing a transaction fee.Find the m
You are given an array prices where prices\[i] is the price of a given stock on the ith day.Find the maximum profit you can achieve. You may complete

Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path.

You are given an m x n integer array grid. There is a robot initially located at the top-left corner (i.e., grid\[0]\[0]). The robot tries to move to

Given an n x n array of integers matrix, return the minimum sum of any falling path through matrix.A falling path starts at any element in the first r
You are given a string s, which contains stars \*.In one operation, you can:Choose a star in s.Remove the closest non-star character to its left, as w

There are n cities connected by some number of flights. You are given an array flights where flights\[i] = \[fromi, toi, pricei] indicates that there

Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list's nodes (i