摘要: 1684. 统计一致字符串的数目 给你一个由不同字符组成的字符串 allowed 和一个字符串数组 words 。如果一个字符串的每一个字符都在 allowed 中,就称这个字符串是 一致字符串 。 请你返回 words 数组中 一致字符串 的数目。 示例 1: 输入:allowed = "ab", 阅读全文
posted @ 2022-11-08 09:35 Wianxhlyl 阅读(134) 评论(0) 推荐(0)