2828. 判别首字母缩略词
2828. 判别首字母缩略词
- 难度:
easy
- 原始链接: https://leetcode.cn/problems/check-if-a-string-is-an-acronym-of-words
- 标签:
模拟
解法一: 朴素模拟
1 | func isAcronym(words []string, s string) bool { |
解法二: java 一行
1 | class Solution { |
easy
模拟
1 | func isAcronym(words []string, s string) bool { |
1 | class Solution { |