Skip to content

Commit b6a93f6

Browse files
authored
Update introduction.md (#1593)
Change `is_substring` to `is_subset` in introduction.md. Changing ``` You can see if the `HashSet` of the alphabet `is_substring` of a `HashSet` of the lowercased `sentence`. ``` to ``` You can see if the `HashSet` of the alphabet `is_subset` of a `HashSet` of the lowercased `sentence`. ```
1 parent e2226ca commit b6a93f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/practice/pangram/.approaches/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
There are various idomatic approaches to Pangram.
44
You can use the `all` method on the alphabet letters with the `contains` method on the lowercased letters of sentence.
5-
You can see if the `HashSet` of the alphabet `is_substring` of a `HashSet` of the lowercased `sentence`.
5+
You can see if the `HashSet` of the alphabet `is_subset` of a `HashSet` of the lowercased `sentence`.
66
Or you can see if the `HashSet` `len` of the lowercased `sentence` filtered to just ASCII letters is `26`.
77
Or you can use a bit field to keep track of used letters.
88

0 commit comments

Comments
 (0)