cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

add pigeonhole sort

Open AdiChat opened this issue 9 years ago • 12 comments

Add the code for pigeonhole sort in any language ( C, Java, Go, Python, JavaScript or any other)

The code should be placed at code/sorting/pigeonhole sort

Sample code in C++: see Note: multiple contributors can work on this issue as it has multiple parts (languages)

Your pull request will be reviewed by maintainers instantly.

For contribution guidelines, see this

If you need any help, let us know.

AdiChat avatar Oct 05 '17 07:10 AdiChat

I'd like to contribute the python and C# versions for this if thats fine :)

iamraghavs avatar Oct 05 '17 07:10 iamraghavs

Sure @raghav710 Go for it 👍

AdiChat avatar Oct 05 '17 07:10 AdiChat

@AdiChat i would like to do that in C

akki5031 avatar Oct 05 '17 07:10 akki5031

Sure @007akk Go for it 👍

AdiChat avatar Oct 05 '17 07:10 AdiChat

I'd like to do that in python..

gravitydestroyer avatar Oct 05 '17 07:10 gravitydestroyer

Sure, Go for it 👍

AdiChat avatar Oct 05 '17 07:10 AdiChat

I am writing this in Java right now

JonasWG avatar Oct 05 '17 07:10 JonasWG

@AdiChat i have made pull request for pigeon_hole_sort.c

akki5031 avatar Oct 05 '17 08:10 akki5031

I have made pull request for java implementation.

JonasWG avatar Oct 05 '17 08:10 JonasWG

@gravitydestroyer have you started with the python version. If yes, I'd do the C# version alone :)

iamraghavs avatar Oct 05 '17 10:10 iamraghavs

yes @raghav710 already filed a PR :)

gravitydestroyer avatar Oct 05 '17 13:10 gravitydestroyer

@AdiChat added the C# one. better late than never :)

iamraghavs avatar Oct 09 '17 16:10 iamraghavs