You are given the array paths, where paths[i] = [cityAi, cityBi] means there exists a direct path go...
Given the array candies and the integer extraCandies, where candies[i] represents the number of cand...
Given a string s of zeros and ones, return the maximum score after splitting the string into two non...
Given alphanumeric string s. (Alphanumeric string is a string consisting of lowercase English letter...
Given an array of integers nums, you start with an initial positive value startValue. In each iterat...
Given an array of string words. Return all strings in words which is substring of another word in an...
Given the array nums, obtain a subsequence of the array whose sum of elements is strictly greater th...
Given an integer n. Each number from 1 to n is grouped according to the sum of its digits. Return ho...
Given an array of integers arr, a lucky integer is an integer which has a frequency in the array equ...
Given two arrays of integers nums and index. Your task is to create target array under the following...