8000 updated comment · willdoescode/haskell-leetcode@ac9367c · GitHub
[go: up one dir, main page]

Skip to content

Commit ac9367c

Browse files
committed
updated comment
1 parent ab96064 commit ac9367c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Medium/SortList.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
module SortList ( sortList ) where
2+
3+
-- Quick Sort
24

35
sortList :: (Ord a) => [a] -> [a]
46
sortList (x:xs) = sortList [y | y <- xs, y <= x] ++ [x] ++ sortList [y | y <- xs, y > x]

0 commit comments

Comments
 (0)
0