Leetcode1681-模拟,位运算
摘要:
题目链接:https://leetcode.cn/problems/count-the-number-of-consistent-strings/description/ 32位int构造出现过的字符集合 位运算解法:用按位或(|)构造1个32位的数字集合A存用过的字符,此时对目标串构造字符集合B( 阅读全文
posted @ 2024-03-30 22:56 TBeauty 阅读(23) 评论(0) 推荐(0)
浙公网安备 33010602011771号