Code Monkey home page Code Monkey logo

deutranium / algorithms Goto Github PK

View Code? Open in Web Editor NEW
49.0 4.0 131.0 880 KB

Short explanations and implementations of different algorithms in multiple languages

Python 14.68% C 18.57% JavaScript 3.81% C++ 27.42% Java 19.02% C# 6.79% Go 2.82% Rust 0.90% Ruby 0.46% Kotlin 0.43% Swift 0.41% Dart 0.42% Lua 4.27%
algorithms searching-algorithms sorting-algorithms primality-test sort hacktoberfest2020 hacktoberfest good-first-issue hacktoberfest2021 hacktoberfest2022

algorithms's Introduction

Hello World ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on: Getting upto speed with my research while interning at Google!
  • ๐ŸŒฑ Iโ€™m currently learning: Social Networks + Homophily + Explainable AI + Causal ML + bits and bytes of philosophy in all this
  • ๐Ÿค” Iโ€™m looking for help with: making an iron man suit
  • ๐Ÿ’ฌ Ask me about: any random topic. I might not know about it but might ask more questions if it's interesting
  • ๐Ÿ“ซ How to reach me: <firstname>.<lastname>@research.iiit.ac.in
  • ๐Ÿ˜„ Pronouns: she/her

Or reach out on Linkedin at https://www.linkedin.com/in/kshitijaa-jaglan/

Kshitijaa's github stats

algorithms's People

Contributors

96octavian avatar aangthelast avatar adithyaakrishna avatar adityavsm avatar akashchouhan16 avatar arnav-roy avatar arushimgupta avatar berenyihenrik avatar boozec avatar cchirag avatar codelixir avatar deutranium avatar dhirendrachoudhary avatar gabrielhs1357 avatar gaurav-1200 avatar grasstown avatar hamzakam avatar inesane avatar k-u-n-a-l-c avatar keshav2712 avatar lashuk1729 avatar pandeyxamit avatar princejain19 avatar rcchcz avatar rishkhanna avatar sarthaka1310 avatar saru-d2 avatar shadowsaber16 avatar shubhamgoel9 avatar swairik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

algorithms's Issues

Quick Sort

Quick sort algorithm is missing in sorting algorithms folder.

I would like to work on this.

Create Algorithm readmes

Create Readme per algo with the following components:

  • Algo name (as heading)
  • A small description about algo
  • Time Complexity (Worst, Average, Best case)
  • Space Complexity (Worst, Average, Best case)
  • Logic and Pseudocode
  • Instructions for running code

You may refer the following:

  • Shell Sort: for an example of the format
  • Ternary Search: for an example of the how the logic and pseudocode can be written

Classical Algos

  • Kosarju's Algo
  • Kadane's Algo (file created already with a basic intro, need to add full details)
  • Tries

ML Algos

  • KMeans

Primality Tests

  • Optimised School Method (by @Hamzakam)
  • Solovay Strassen Method

Searching Algo

  • Binary Search (just need to add instructions to run)
  • Exponential Search (by @Hamzakam)
  • Fibonacci Search
  • Interpolation Search
  • Jump Search
  • KMP Search
  • Linear Search (by @Hamzakam)
  • Rabin Karp Search
  • Sublist Search
  • Ternary Search (by @pandeyxamit)

Sorting Algo

  • Shell Sort (by @pandeyxamit)
  • Bubble Sort (by @pandeyxamit)
  • Bucket Sort (by @pandeyxamit)
  • Comb Sort
  • Counting Sort
  • Cycle Sort
  • Heap Sort
  • Insertion Sort (by @AangTheLast)
  • Merge Sort (just needs a bit formatting)
  • Pigeonhole Sort (by @AangTheLast)
  • Quick Sort (just need to add the time and space complexities)
  • Radix Sort
  • Selection Sort (by @Grasstown)
  • Tim Sort

Implement Merge Sort

Implement in a language of your choice.

Please read the contributing guidelines in CONTRIBUTING.md

Languages claimed/implemented:

  • C
  • C++
  • Java
  • Python
  • Swift
  • Any other language

Create test cases for each type of algorithm

Test case per type, like a set of unsorted arrays for the sorting algorithms etc.

Create a folder testCases and add type wise testCases there, with file name same as the type name following the camelCase

Implement Cycle Sort

Implement DFS in a language of your choice.

Please read the contributing guidelines in CONTRIBUTING.md

Languages claimed/implemented:

Fixing links in the readme

Some of the links in readme aren't working post #174 (since some directory names were changed to follow the convention).

Please comment if someone wants to work on it.

Shell sort

Shell sort is missing
I want to work on shell sort

Check correctness of the codes added already

To be done after test cases have been added.

If any bugs are found, create a separate issue named <type> | <file_name> | Test Case Failed and report the failed test case there.

Also report the code which has been checked here in the comments to keep a track of all the files

Implement Heap sort

Implement in a language of your choice.

Please read the contributing guidelines in CONTRIBUTING.md

Languages claimed/implemented:

  • C
  • C++
  • Java
  • Python
  • Rust
  • Any other language

Implement Comb Sort

Implement Comb Sort in a language of your choice.

Please read the contributing guidelines in CONTRIBUTING.md

Languages claimed/implemented:

  • C++
  • Java
  • Python
  • C#
  • C

Enhancement fixes

If you come across any fixes like the following, please comment here (DO NOT MAKE A SEPARATE ISSUE FOR THAT) and make a PR for the same

  • Directory structure not being followed
  • Naming conventions not being followed
  • Algorithm implemented but not linked in readme.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.