摘要: 原题链接在这里:https://leetcode.com/problems/minimum-number-of-keypresses/description/ 题目: You have a keypad with 9 buttons, numbered from 1 to 9, each mappe 阅读全文
posted @ 2024-06-17 20:59 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/minimum-adjacent-swaps-to-make-a-valid-array/description/ 题目: You are given a 0-indexed integer array nums. Swap 阅读全文
posted @ 2024-06-17 13:49 Dylan_Java_NYC 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/length-of-the-longest-valid-substring/description/ 题目: You are given a string word and an array of strings forbi 阅读全文
posted @ 2024-06-17 13:34 Dylan_Java_NYC 阅读(13) 评论(0) 推荐(0) 编辑