摘要: Given a string s of lower and upper case English letters. A good string is a string which doesn't have two adjacent characters s[i] and s[i + 1] where 阅读全文
posted @ 2022-11-08 11:27 CNoodle 阅读(134) 评论(0) 推荐(0)
摘要: You are given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most one digit (6 becomes 阅读全文
posted @ 2022-11-08 00:33 CNoodle 阅读(100) 评论(0) 推荐(0)