Skip to content

Commit 36742ea

Browse files
Update src/quickselect.c
Co-authored-by: Michael Chirico <[email protected]>
1 parent df05b9d commit 36742ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/quickselect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ double i64quickselect(int64_t *x, int n)
7373
}
7474

7575
// Floyd-Rivest selection algorithm
76+
// https://en.wikipedia.org/wiki/Floyd%E2%80%93Rivest_algorithm
7677

7778
#undef FLOYD_RIVEST_BODY
7879
#define FLOYD_RIVEST_BODY(SWAP, TYPE) \

0 commit comments

Comments
 (0)