摘要: 题目如下: Given an array of integers arr, replace each element with its rank. The rank represents how large the element is. The rank has the following rul 阅读全文
posted @ 2020-01-27 17:25 seyjs 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a m * n matrix mat of integers, sort it diagonally in ascending order from the top-left to the bottom-right then return the sorted array. 阅读全文
posted @ 2020-01-27 17:18 seyjs 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a palindromic string palindrome, replace exactly one character by any lowercase English letter so that the string becomes the lexicographi 阅读全文
posted @ 2020-01-27 17:16 seyjs 阅读(472) 评论(0) 推荐(0) 编辑