08 2023 档案
摘要:You are given the customer visit log of a shop represented by a 0-indexed string customers consisting only of characters 'N' and 'Y': if the ith chara
阅读全文
摘要:You are given a map of a server center, represented as a m * n integer matrix grid, where 1 means that on that cell there is a server and 0 means that
阅读全文
摘要:You are given two strings start and target, both of length n. Each string consists only of the characters 'L', 'R', and '_' where: The characters 'L'
阅读全文
摘要:There are n friends that are playing a game. The friends are sitting in a circle and are numbered from 1 to n in clockwise order. More formally, movin
阅读全文
摘要:You are given a 0-indexed integer array nums. You have to partition the array into one or more contiguous subarrays. We call a partition of the array
阅读全文
摘要:You are given an m x n integer array grid where grid[i][j] could be: 1 representing the starting square. There is exactly one starting square. 2 repre
阅读全文
摘要:Given two strings s1 and s2, return the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Input: s1 = "sea", s2 = "eat" Out
阅读全文

浙公网安备 33010602011771号