cola
Follow
Enjoy Coding Everywhere 👻
0
Followers
4
Followings
Patron
Home
Archives
双指针
Latest
Hottest
Most Commented
字符串的异位词
给出一个 字符串 "abc",判断它是否是字符串 "adcba" 的异位词。 这题比较直观的解法是使用双指针来解答,先使用 map 记录 s1 每个字符的个数,然后遍历 s2,每次遍历开启双指针,start 为当前遍历索引,end 为 start + s1.length…
算法
1 min
2 years ago
Ownership of this blog data is guaranteed by blockchain and smart contracts to the creator alone.
Blockchain ID
#57139
Owner
0x302ea7b2f12fdda4087df0e9183b8ef253249af5
Transaction Hash
Creation 0x1e17d47d...79c278ecc8
Last Update 0xdd20bdff...1107a1b5ef
IPFS Address
ipfs://bafkreiazk3y3ymuum5t2sqhp3yyh5eewvyf6tsipyohjerkzjgriojjvta