会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cssg
博客园
首页
新随笔
联系
订阅
管理
2024年1月16日
[代码随想录] 第六天
摘要: 383.赎金信https://leetcode.cn/problems/ransom-note/description/ 思路:本题与242.有效的字母异位词几乎相同。将字母-'a',变成0-26的数字存放于数组中,再遍历数组对比次数。 class Solution { public boolean
阅读全文
posted @ 2024-01-16 17:20 糟糕的家伙
阅读(16)
评论(0)
推荐(0)
公告