摘要:
题目如下: 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 阅读全文
摘要:
题目如下: You are given two strings s and t of the same length. You want to change s to t. Changing the i-th character of s to i-th character of t costs | 阅读全文
摘要:
题目如下: Given an array of integers arr, write a function that returns true if and only if the number of occurrences of each value in the array is unique 阅读全文
摘要:
题目如下: In a given array nums of positive integers, find three non-overlapping subarrays with maximum sum. Each subarray will be of size k, and we want 阅读全文