摘要:
题目如下: Balanced strings are those who have equal quantity of 'L' and 'R' characters. Given a balanced string s split it in the maximum amount of balanc 阅读全文
摘要:
题目如下: In a gold mine grid of size m * n, each cell in this mine has an integer representing the amount of gold in that cell, 0 if it is empty. Return 阅读全文
摘要:
题目如下: Given an integer n, your task is to count how many strings of length n can be formed under the following rules: Each character is a lower case v 阅读全文
摘要:
题目如下: Given an integer array arr and an integer difference, return the length of the longest subsequence in arr which is an arithmetic sequence such t 阅读全文
摘要:
题目如下: There are some chips, and the i-th chip is at position chips[i]. You can perform any of the two following types of moves any number of times (po 阅读全文
摘要:
题目如下: A Stepping Number is an integer such that all of its adjacent digits have an absolute difference of exactly 1. For example, 321 is a Stepping Nu 阅读全文
摘要:
题目如下: Given two binary search trees, return True if and only if there is a node in the first tree and a node in the second tree whose values sum up to 阅读全文
摘要:
题目如下: Given three integer arrays arr1, arr2 and arr3 sorted in strictly increasing order, return a sorted array of only the integers that appeared in 阅读全文
摘要:
题目如下: In an n*n grid, there is a snake that spans 2 cells and starts moving from the top left corner at (0, 0)and (0, 1). The grid has empty cells rep 阅读全文
摘要:
题目如下: Given a string s, a k duplicate removal consists of choosing k adjacent and equal letters from s and removing them causing the left and the righ 阅读全文