Skip to content

Commit 4a040c3

Browse files
committed
added PigeonHoleSort algorithm
1 parent d4ede60 commit 4a040c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sorts/PigeonHoleSort.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ function pigeonhole_sort(arr){
3939
//Driver code
4040
var arr=Array(8, 3, 2, 7, 4, 6, 8);
4141
pigeonhole_sort(arr);
42-
console.log(arr);
43-
42+
console.log(arr);

0 commit comments

Comments
 (0)