摘要: 题目如下: You are given an array of positive integers nums and want to erase a subarray containing unique elements. The score you get by erasing the subar 阅读全文
posted @ 2022-02-05 16:58 seyjs 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 题目如下: You are given a phone number as a string number. number consists of digits, spaces ' ', and/or dashes '-'. You would like to reformat the phone 阅读全文
posted @ 2022-02-05 16:53 seyjs 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 题目如下: There is a stream of n (idKey, value) pairs arriving in an arbitrary order, where idKey is an integer between 1 and n and value is a string. No 阅读全文
posted @ 2022-02-05 16:50 seyjs 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 题目如下: You are given an integer array nums sorted in non-decreasing order. Build and return an integer array result with the same length as nums such t 阅读全文
posted @ 2022-02-05 16:42 seyjs 阅读(63) 评论(0) 推荐(0) 编辑