【文件属性】:
文件名称:leetcode伪代码-jewels-in-stones:宝石镶嵌
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-30 19:57:36
系统开源
leetcode伪代码jewels-and-stones
题目解读:
题目来源:
原文:
You're
given
strings
J
representing
the
types
of
stones
that
are
jewels,
and
S
representing
the
stones
you
have.
Each
character
in
S
is
a
type
of
stone
you
have.
You
want
to
know
how
many
of
the
stones
you
have
are
also
jewels.
The
letters
in
J
are
guaranteed
distinct,
and
all
characters
in
J
and
S
are
letters.
Letters
are
case
sensitive,
so
"a"
is
considered
a
different
type
of
stone
from
"A".
解读:
给定一个字串J
其中每个字元代表一个种类的宝石,其中每个种类都只有一种给定一个字串S
其中每个字元代表一个
【文件预览】:
jewels-in-stones-master
----numJewelsInStones.go(215B)
----.gitignore(269B)
----numJewelsInStones_test.go(592B)
----README.md(3KB)