This repository was archived by the owner on Jun 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 644
Added Cocktail Sort Algorithm in Python #553
Merged
codeperfectplus
merged 1 commit into
Py-Contributors:master
from
aaravm4:aaravm4-cocktailsort
Oct 4, 2020
Merged
Added Cocktail Sort Algorithm in Python #553
codeperfectplus
merged 1 commit into
Py-Contributors:master
from
aaravm4:aaravm4-cocktailsort
Oct 4, 2020
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 tasks
codeperfectplus
approved these changes
Oct 4, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making your contributions.
VyomGarg47
added a commit
to VyomGarg47/AlgorithmsAndDataStructure
that referenced
this pull request
Oct 5, 2020
* Selection Sort Implemented * Adding Factors | Recursion | C++ * Adding Fabonacci Number | Recursion | C++ * Adding Fabonacci.cpp | Recursion | C++ * Reversal of String * Reversal of String * Added the dynamic programming problem of longest common subsequence * Added the C++ code to implement the longest common subsequence of three sequences * Adding Tarjan's Algorithm * queue added * added tower of hanoi in cpp in recursion folder * added tower of hanoi in cpp in recursion folder * Added code for Kadane's Algorithm in C++ * Add stack implementation using Array * Add stack implementation using Linked List * Add Postfix expression evaluation using stack * Added Shell Sort.cpp * added exponential search c++ * Added title and testcase for selectionsort.cpp * added quick sort * Update README.md i add some more informative thing in read me . * Create lint.yml * Added Disjoint Set Union. Created Disjoint Set Union Folder in C++/Data Structure and added its code. * fibonacci_bottom_up * Preorder_Traversal * Recursive Sum A Program to recursively calculate sum of N natural numbers. * minimum_sum_partition * Knapsack problem solution in C++ added * Added Sequential Search * Added title to first line in file * Adding Python file for floyd's cycle finding algorithm in a linked list * Added code for Swap Two Nibbles * Added for Bleak Number * Added Knights Tour Problem - Backtracking * Added knight tour - backtracking * Added Documentation * Added Documentation * Added Linter, Fixed Broken Code * Added Ignore W503 to linter, code fix * Update README.md * Tiling Problem using Divide and Conquer A Recursive problem solved using Divide and Conquer method to fill the board using L shaped tiles of 2 x 2 square with one cell of size 1×1 missing. * Initial Commit * Update README.md * Update README.md * Added CentroidofTree.cpp * Added Sieve of Eratosthenes algorithm * added exponential search c++ * Added newline at end to avoid the flake8 error * Update Addition.py * added all permutation of string in c++ * Create ad.py * fixed some comments * added comments: all permutation of string in c++ * Update ad.py * spiral Matrix added * all permutation finding program added * Fixed readme cpp for searching algorithms * Add binaryexponentiation.cpp * Update README.md * Added Sieve of Eratosthenes algorithm * added pancake_sort by Rj-coder-iitian. * Update CycleFinding.py * Update CycleFinding.py * Update Readme.md Added Maintainer * Updated Code to have proper linting * fixing code for pancake_sort * fixing the pancake_sort code. * fixing pancake_sort * added pancake_sort * Implimenting binary search in divide and conquer * Uploading source code for Insertion Sort * pow using recursion cpp * added #5 and #3 * Update binary_search.cpp * Added Selection Sort implementation in Python * Reversal_of_String * Create sumofdigits.py * Reversal_of_String * Update sumofdigits.py * Z-algorithm added * Added code for priority queues in C++ * Update z-algorithm.cpp * Update README.md * Improved Binary search implementation Now user can give input on runtime, I have implemented the algorithm using vector * Improved Binary Search implementation * Updated File name * Modified code to meet flake8 norm * Delete binary_search.cpp * Implemented Tree DS * Added Exponential Search * Add minimum coin change in c++ * Removed Extra Whitespaces * Lint Removal * Additional Lint Removal * changing file location * Add files via upload * add implementation for bellman-ford graph search * fix style according to flake8 * add one liner description * update description * fix spaces * permutations_of_a_string * permutations program with flake8 * spiral_matrix program with flake8 * Create BinarySearch.py * Update BinarySearch.py * Update BinarySearch.py * Update BinarySearch.py * Update BinarySearch.py * improving linting error * added #3 #5 Py-Contributors#7 * added #3 #4 #5 Py-Contributors#7 * Delete stackByArray.cpp * Delete ad.py * Update FeedForwardNeuralNetwork.py * Update LinearRegression.py * Update LogisticRegression.py * Update README.md * Update README.md * Set theme jekyll-theme-hacker * Update _config.yml * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Latest updates * Removed extra files * Kosaraju algorthim added * Kosaraju algorithm added * Delete settings.json * Delete kosaraju_algorithm.cpp * Update PULL_REQUEST_TEMPLATE.md * Directed_Acyclic_Graph Implementation (Py-Contributors#426) * Dag Implementation * Update Directed_Acyclic_Graph.py * added space to fix the lint issue * remove whitespace in blank * Implementation of the complete linked list in python (Py-Contributors#473) * implementation of the complete linked list in python * implementation of the complete linked list in python * implementation of the complete linked list in python * Added code for Extended Euclid's GCd (Py-Contributors#319) * Add files via upload * Added Subset Sum through Backtracking Py-Contributors#36 * Update CentroidofTree.cpp * updated two-stacks * Added Cocktail Sort Algorithm in Python (Py-Contributors#553) * Added Kadane's algorithm in Python (Py-Contributors#557) * Added Gnome Sort Algorithm in Python (Py-Contributors#551) * N queens (Py-Contributors#568) * Add file n_queens_math.py * Add a description of the problem * Add depth_first_search function * Add n_queens_solution function and pass parameters to depth_first_search * Add the main function * Flake8 corrections * Add Binary Search Tree Implementation (Py-Contributors#537) * added LCS in py and linted withflake8 (Py-Contributors#539) * Added Red Black Tree (Py-Contributors#538) * Added Red Black BST * Added author's info * Decimal to N base conversion added (Py-Contributors#540) * Decimal to N base convertion added * Update decimalToN_base.py flake8 error fixed * Kosaraju added (Py-Contributors#546) * Added Longest Common Prefix in python (Py-Contributors#547) * added py prog to print the Elarian path of the given adj matrix (Py-Contributors#548) * added LowestCommonAncestor.cpp file to C++/Data Structure/Trees (Py-Contributors#541) * Update README.md * Re-arranged Files (Py-Contributors#589) * RabinKarp in C++ (Py-Contributors#572) add rabinKarp.cpp * Revert "RabinKarp in C++ (Py-Contributors#572)" (Py-Contributors#593) This reverts commit 15d934a. * RabinKarp algorithm in C++ (Py-Contributors#595) * RabinKarp in C++ * Add longest palindromic subsequence.cpp (Py-Contributors#560) * add LongestPalindromicSubsequence.cpp * add details to LongestPalindromicSubsequence.cpp * added LongestPalindromicSubsequence.cpp * added option to input string from user Co-authored-by: “chiru-cd” <“[email protected]”> * added priority queue implementation in python (Py-Contributors#600) Co-authored-by: anandhakrishnanaji <[email protected]> Co-authored-by: Rajdeep Ray <[email protected]> Co-authored-by: HimadriPathak <[email protected]> Co-authored-by: SAY-droid427 <[email protected]> Co-authored-by: aditi-1400 <[email protected]> Co-authored-by: Niharika <[email protected]> Co-authored-by: shonali-ks <[email protected]> Co-authored-by: Leonardo Anjos <[email protected]> Co-authored-by: Jashandeep Singh <[email protected]> Co-authored-by: Aniket Singh <[email protected]> Co-authored-by: SuvamPrasd <[email protected]> Co-authored-by: amit singh <[email protected]> Co-authored-by: Ayush Modi <[email protected]> Co-authored-by: Ishita Singh <[email protected]> Co-authored-by: kashika3101 <[email protected]> Co-authored-by: Mr-DareDevil <[email protected]> Co-authored-by: Atharva Patwardhan <[email protected]> Co-authored-by: anay121 <[email protected]> Co-authored-by: Mahima Goyal <[email protected]> Co-authored-by: Utkarsh Bajaj <[email protected]> Co-authored-by: Balaguru4580 <[email protected]> Co-authored-by: Deepak Raj <[email protected]> Co-authored-by: Shubham Pawar <[email protected]> Co-authored-by: Tushar <[email protected]> Co-authored-by: rafu01 <[email protected]> Co-authored-by: SOURAB-BAPPA <[email protected]> Co-authored-by: Shantanu Kale <[email protected]> Co-authored-by: srivathsa729 <[email protected]> Co-authored-by: clueless100 <[email protected]> Co-authored-by: tusharsbauskar <[email protected]> Co-authored-by: Rishabh <[email protected]> Co-authored-by: Anay Kulkarni <[email protected]> Co-authored-by: Vaibhav Jain <[email protected]> Co-authored-by: Smrt-Sanskar <[email protected]> Co-authored-by: MdAkdas <[email protected]> Co-authored-by: shravani05 <[email protected]> Co-authored-by: Aairah-iiitd <[email protected]> Co-authored-by: Utkarsh Goel <[email protected]> Co-authored-by: Vaishnav Srinidhi <[email protected]> Co-authored-by: Utkarsh Goel <[email protected]> Co-authored-by: ExpressHermes <[email protected]> Co-authored-by: Gargi Yadav <[email protected]> Co-authored-by: Deepak Raj <[email protected]> Co-authored-by: hardikharti <[email protected]> Co-authored-by: carol975 <[email protected]> Co-authored-by: Pradyumn Singh Rahar <[email protected]> Co-authored-by: Jashandeep Singh <[email protected]> Co-authored-by: A N U S H <[email protected]> Co-authored-by: krishnan-tech <[email protected]> Co-authored-by: titanfall <[email protected]> Co-authored-by: aaravm4 <[email protected]> Co-authored-by: SowmiyaNarayanan G <[email protected]> Co-authored-by: David Banda <[email protected]> Co-authored-by: Tejas Bir Singh <[email protected]> Co-authored-by: Meghana Varanasi <[email protected]> Co-authored-by: Shivam Rawat <[email protected]> Co-authored-by: Rohan Gawhade <[email protected]> Co-authored-by: vipenl26 <[email protected]> Co-authored-by: blackfly19 <[email protected]> Co-authored-by: chiru-cd <[email protected]> Co-authored-by: “chiru-cd” <“[email protected]”> Co-authored-by: Divyanshu Bargali <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Template
What have you Changed(must)
Added new Python file:
CocktailSort.py
, containing the implementation of Cocktail Sort inPython/Algorithms/SortingAlgorithms
.Issue no.(must) - #453
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)
README - How to Contribute