Given a 1-d array candy crush, return the shortest array after removing all the continuous…
Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1.
arr1
arr2
Problem Statement:
Given the root of a binary tree, each node in the tree has a distinct value.
root
Problem statement:
This problem was asked by Google.
Given an array of integers where every integer occurs three times except for one integer, which only occurs once, find and return the non-duplicated integer.
You have a grid of size n x 3 and you want to paint each cell of the grid with exactly one of the…
grid
n x 3
You are given a string num consisting of digits only.
num
Return the largest palindromic integer (in the form of a string) that can be formed using digits taken from num. It should not contain leading zeroes.
Given a binary tree where node values are digits from 1 to 9. A path in the binary tree…
Given an array A of distinct integers sorted in ascending order, return the smallest index i…
A
i