Sinisterly
Source Code of Some Well Known Algorithms - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Source Code of Some Well Known Algorithms (/Thread-Source-Code-of-Some-Well-Known-Algorithms)

Pages: 1 2 3


RE: Source Code of Some Well Known Algorithms - Psycho_Coder - 09-12-2013

Langauge : Java 7
Insertion Sort
Code : https://gist.github.com/PsychoCoderHC/6541791


RE: Source Code of Some Well Known Algorithms - Psycho_Coder - 09-12-2013

Language : Java 7
Bubble Sort in Java

Code : https://gist.github.com/PsychoCoderHC/6541728


RE: Source Code of Some Well Known Algorithms - Psycho_Coder - 09-14-2013

Gnome Sort

Language : Java
Link :- http://en.wikipedia.org/wiki/Gnome_sort
Code:- https://gist.github.com/PsychoCoderHC/6564223


RE: Source Code of Some Well Known Algorithms - Deque - 09-16-2013

Ford-Fulkerson (Max-Flow-Algorithm) in Java: http://pastebin.com/J5svm8MY

Breadth First Search in Java: http://pastebin.com/fZihz4jG

Adjacency List (graph representation) in Java: http://pastebin.com/x7Lgqh8T

BubbleSort in Java: http://pastebin.com/aufedZLm

Textcompression with Huffman in Scala:
HuffTree: http://pastebin.com/aDbbJYE5
Huffman: http://pastebin.com/zwS6C4Vj

Textcompression with LZW in Scala: http://pastebin.com/gJBBz7KX


RE: Source Code of Some Well Known Algorithms - Psycho_Coder - 09-19-2013

Language : Java

Binary Search

Link :- http://en.wikipedia.org/wiki/Binary_Search

Code :- https://gist.github.com/PsychoCoderHC/6629272


RE: Source Code of Some Well Known Algorithms - Ex094 - 11-20-2013

Here's my submission of my paper on Merge Sort http://www.hackcommunity.com/Thread-Introduction-to-Sorting-and-Sorting-Algorithms-Part-2?pid=167024#pid167024


RE: Source Code of Some Well Known Algorithms - Psycho_Coder - 11-20-2013

(11-20-2013, 02:20 PM)Ex094 Wrote: Here's my submission of my paper on Merge Sort http://www.hackcommunity.com/Thread-Introduction-to-Sorting-and-Sorting-Algorithms-Part-2?pid=167024#pid167024

Use pastebin for the code and then give me the pastebin link. Also read the introduction thread about how to post the codes.


RE: Source Code of Some Well Known Algorithms - Ex094 - 11-20-2013

(11-20-2013, 02:42 PM)Psycho_Coder Wrote:
(11-20-2013, 02:20 PM)Ex094 Wrote: Here's my submission of my paper on Merge Sort http://www.hackcommunity.com/Thread-Introduction-to-Sorting-and-Sorting-Algorithms-Part-2?pid=167024#pid167024

Use pastebin for the code and then give me the pastebin link. Also read the introduction thread about how to post the codes.

I would love to share it on Github but I don't know how to use github Sad


RE: Source Code of Some Well Known Algorithms - Psycho_Coder - 11-20-2013

(11-20-2013, 02:45 PM)Ex094 Wrote:
(11-20-2013, 02:42 PM)Psycho_Coder Wrote:
(11-20-2013, 02:20 PM)Ex094 Wrote: Here's my submission of my paper on Merge Sort http://www.hackcommunity.com/Thread-Introduction-to-Sorting-and-Sorting-Algorithms-Part-2?pid=167024#pid167024

Use pastebin for the code and then give me the pastebin link. Also read the introduction thread about how to post the codes.

I would love to share it on Github but I don't know how to use github Sad

No problem just use pastebin


RE: Source Code of Some Well Known Algorithms - Ex094 - 11-20-2013

Created a gist for my merge sort implementation, Here you go https://gist.github.com/Ex094/7563704