Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2ca2289

Browse files
refactor 1119
1 parent6bb4a12 commit2ca2289

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

‎src/main/java/com/fishercoder/solutions/_1119.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,6 @@
44
importjava.util.HashSet;
55
importjava.util.Set;
66

7-
/**
8-
* 1119. Remove Vowels from a String
9-
*
10-
* Given a string S, remove the vowels 'a', 'e', 'i', 'o', and 'u' from it, and return the new string.
11-
*
12-
* Example 1:
13-
* Input: "leetcodeisacommunityforcoders"
14-
* Output: "ltcdscmmntyfrcdrs"
15-
*
16-
* Example 2:
17-
* Input: "aeiou"
18-
* Output: ""
19-
*
20-
* Note:
21-
* S consists of lowercase English letters only.
22-
* 1 <= S.length <= 1000
23-
* */
247
publicclass_1119 {
258
publicstaticclassSolution1 {
269
publicStringremoveVowels(StringS) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp