3095. Shortest Subarray With OR at Least K I

Problem You are given an array nums of non-negative integers and an integer k. An array is called special if the bitwise OR o...

easy

3065. Minimum Operations to Exceed Threshold Value I

Problem You are given a 0-indexed integer array nums, and an integer k. In one operation, you can remove one occurrence of th...

easy

3270. Find the Key of the Numbers

Problem You are given three positive integers num1, num2, and num3. The key of num1, num2, and num3 is defined as a four-digi...

easy

2185. Counting Words With a Given Prefix

Problem You are given an array of strings words and a string pref. Return the number of strings in words that contain pref as...

easy

3042. Count Prefix and Suffix Pairs I

Problem You are given a 0-indexed string array words. Let’s define a boolean function isPrefixAndSuffix that takes two string...

easy

2264. Largest 3-Same-Digit Number in String

Problem You are given a string num representing a large integer. An integer is good if it meets the following conditions: It...

easy

1408. String Matching in an Array

Problem Given an array of string words, return all strings in words that is a substring of another word. You can return the a...

easy

3019. Number of Changing Keys

Problem You are given a 0-indexed string s typed by a user. Changing a key is defined as using a key different from the last ...

easy

628. Maximum Product of Three Numbers

Problem Given an integer array nums, find three numbers whose product is maximum and return the maximum product. https://leet...

easy

674. Longest Continuous Increasing Subsequence

Problem Given an unsorted array of integers nums, return the length of the longest continuous increasing subsequence (i.e. su...

easy

1128. Number of Equivalent Domino Pairs

Problem Given a list of dominoes, dominoes[i] = [a, b] is equivalent to dominoes[j] = [c, d] if and only if either (a == c an...

easy

1260. Shift 2D Grid

Problem Given a 2D grid of size m x n and an integer k. You need to shift the grid k times. In one shift operation: Element ...

easy

1374. Generate a String With Characters That Have Odd Counts

Problem Given an integer n, return a string with n characters such that each character in such string occurs an odd number of...

easy

1437. Check If All 1's Are at Least Length K Places Away

Problem Given an binary array nums and an integer k, return true if all 1’s are at least k places away from each other, other...

easy

292. Nim Game

Problem You are playing the following Nim Game with your friend: Initially, there is a heap of stones on the table. You and ...

easy

171. Excel Sheet Column Number

Problem Given a string columnTitle that represents the column title as appears in an Excel sheet, return its corresponding co...

easy

168. Excel Sheet Column Title

Problem Given an integer columnNumber, return its corresponding column title as it appears in an Excel sheet. For example: A...

easy

1422. Maximum Score After Splitting a String

Problem Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings...

easy

3280. Convert Date to Binary

Problem You are given a string date representing a Gregorian calendar date in the yyyy-mm-dd format. date can be written in i...

easy

3046. Split the Array

Problem You are given an integer array nums of even length. You have to split the array into two parts nums1 and nums2 such t...

easy

3083. Existence of a Substring in a String and Its Reverse

Problem Given a string s, find any substring of length 2 which is also present in the reverse of s. A substring is a contigu...

easy

145. Binary Tree Postorder Traversal

Problem Given the root of a binary tree, return the postorder traversal of its nodes’ values. https://leetcode.com/problems/b...

easy

3285. Find Indices of Stable Mountains

Problem There are n mountains in a row, and each mountain has a height. You are given an integer array height where height[i]...

easy

496. Next Greater Element I

Problem 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 ...

easy

1475. Final Prices With a Special Discount in a Shop

Problem You are given an integer array prices where prices[i] is the price of the iᵗʰ item in a shop. There is a special disc...

easy

3264. Final Array State After K Multiplication Operations I

Problem You are given an integer array nums, an integer k, and an integer multiplier. You need to perform k operations on num...

easy

2558. Take Gifts From the Richest Pile

Problem You are given an integer array gifts denoting the number of gifts in various piles. Every second, you do the followin...

easy

2717. Semi-Ordered Permutation

Problem You are given a 0-indexed permutation of n integers nums. A permutation is called semi-ordered if the first number eq...

easy

3151. Special Array I

Problem An array is considered special if every pair of its adjacent elements contains two numbers with different parity. You...

easy

1812. Determine Color of a Chessboard Square

Problem You are given coordinates, a string that represents the coordinates of a square of the chessboard. Below is a chessbo...

easy

999. Available Captures for Rook

Problem You are given an 8 x 8 matrix representing a chessboard. There is exactly one white rook represented by 'R', some num...

easy

3274. Check if Two Chessboard Squares Have the Same Color

Problem You are given two strings, coordinate1 and coordinate2, representing the coordinates of a square on an 8 x 8 chessboa...

easy
123