Last active
August 29, 2015 14:16
-
-
Save chuchao333/fb0350bd4860499eea80 to your computer and use it in GitHub Desktop.
Revisions
-
chuchao333 revised this gist
Mar 1, 2015 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,3 +14,11 @@ Find Peak Element: 1 CE, 1 AC Searching a 2D Sorted Matrix: not in OJ, but an interesting problem # Array Merge Sorted Array: 1 RE, 2 WA, 1 AC, 1 AC (insert from end to begin, more efficient) Remove Duplicates from Sorted Array: 1 TLE, 3 WA, 3 OLE, 1 AC, 1 AC (use two pointers, while the second points to a new value) Remove Duplicates from Sorted Array II: 1 AC, 1 AC (two pointers, similar idea as above) -
chuchao333 revised this gist
Mar 1, 2015 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,16 @@ # Binary Search Search Insert Position: 1 CE, 1 TLE, 1 AC Search for a Range: 1 CE, 1 WA, 1 AC, 1 AC (binary search twice) Search in Rotated Sorted Array: 3 WA, 1 AC Search in Rotated Sorted Array II: 2 WA, 1 TLE, 2 WA, 1 AC (sequencial search), 1 AC Search a 2D Matrix: 1 AC Find Peak Element: 1 CE, 1 AC Searching a 2D Sorted Matrix: not in OJ, but an interesting problem -
chuchao333 revised this gist
Mar 1, 2015 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,10 @@ # Binary Search Search Insert Position: 1 CE, 1 TLE, 1 AC Search for a Range: 1 CE, 1 WA, 1 AC, 1 AC (binary search twice) Search in Rotated Sorted Array: 3 WA, 1 AC Search in Rotated Sorted Array II: 2 WA, 1 TLE, 2 WA, 1 AC (sequencial search), 1 AC Search a 2D Matrix: 1 AC Find Peak Element: 1 CE, 1 AC Searching a 2D Sorted Matrix: not in OJ, but an interesting problem -
chuchao333 created this gist
Mar 1, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ # Binary Search