摘要: Given a 0-indexed string s, permute s to get a new string t such that: All consonants remain in their original places. More formally, if there is an i 阅读全文
posted @ 2023-11-14 10:38 CNoodle 阅读(15) 评论(0) 推荐(0) 编辑
摘要: There are n cities numbered from 0 to n-1. Given the array edges where edges[i] = [fromi, toi, weighti] represents a bidirectional and weighted edge b 阅读全文
posted @ 2023-11-14 01:35 CNoodle 阅读(20) 评论(0) 推荐(0) 编辑