瀏覽代碼

Update README.md

Git-Leon 6 年之前
父節點
當前提交
d280b569b8
沒有帳戶連結到提交者的電子郵件
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      README.md

+ 3
- 3
README.md 查看文件

@@ -11,8 +11,8 @@
11 11
         * `boolean isPangramic(String[] array)`
12 12
         * `int getNumberOfOccurrences(String[] array, String value)`
13 13
         * `String[] removeValue(String[] array, String value)`
14
-        * `String[] removeConsecutiveDuplicates(String[] array, String value)`
15
-        * `String[] packConsecutiveDuplicates(String[] array, String value)`
14
+        * `String[] removeConsecutiveDuplicates(String[] array)`
15
+        * `String[] packConsecutiveDuplicates(String[] array)`
16 16
         
17 17
 * **Purpose**
18 18
     * To establish greater familiarity with loops and arrays.
@@ -972,7 +972,7 @@
972 972
 
973 973
 
974 974
 <br><br><br><br>
975
-## `String[] removeConsecutiveDuplicates(String[] array, String value)`
975
+## `String[] removeConsecutiveDuplicates(String[] array)`
976 976
 * **Description**
977 977
     * Given an array of `String` objects, return an array of Strings with conseuctive duplicates removed.
978 978