sukritishah15 / DS-Algo-Point

This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript, PHP, Kotlin and Scala
MIT License
951 stars 292 forks source link

Pigeonhole Sort #340

Open unnatideshwal opened 3 years ago

unnatideshwal commented 3 years ago

🚀 Feature

Pigeonhole sorting is a sorting algorithm that is suitable for sorting lists of elements where the number of elements and the number of possible key values are approximately the same. It requires O(n + Range) time where n is number of elements in input array and ‘Range’ is number of possible values in array.

Have you read the Contribution Guidelines?

Yes

Pitch

Find minimum and maximum values in array. It is similar to counting sort, but differs in that it moves items twice.

Assignees

@arnav-roy - CPP @hritik5102 - Python @Bene98 - Java

arnav-roy commented 3 years ago

Kindly assign, I want to work in c++

unnatideshwal commented 3 years ago

@arnav-roy -C++

hritik5102 commented 3 years ago

Hello @unnatideshwal , i would like to contribute to this issue.

Thank you :)

unnatideshwal commented 3 years ago

@hritik5102 - Python

hritik5102 commented 3 years ago

Hello @unnatideshwal , Please check PR #388

if any changes required, please let me know

Thank you

Bene98 commented 3 years ago

Hey, can I implement this in java?

niranjantuty commented 3 years ago

@Bene98 - Java Assigned. Go ahead :)

arnav-roy commented 3 years ago

Hello @unnatideshwal , Please check PR #426

If any changes required, please let me know.

Thank you.