Commit Graph

20 Commits

Author SHA1 Message Date
Artem Solovev
0d5d0164ce Added more implementations (JS) (#67)
* Added recursive binary search (JS)

* Added recursive selection sorting

* Added another loop implementation sum func by reduce (JS)

* Recursion reduced by one iteration

* Recursive binary search in ES6 added to appropriate folder

* JS files ordered by standards (ES4/ES6)

* Added hashtable implementation in JS

* Fixed typo with LENGTH prop

* Added Euclidian algorithm for two numbers and set of them

* Added universal selection sort

* Commented output

* Added ES6 version of Euclidean algorithm

* Converted from ES6 to ES5

* #69 Added search for LCS

* #69 added levenstein algorithm

* Removed excessive property

* Removed excessive file

* Removed excessive function calls

* Removed excessive file

* Removed excessive file

* Renamed

* Fixed indentation
2018-08-24 11:21:54 -07:00
Ian Shiundu
fb0d9dccfd Update check_voter method for Scala (#79)
* add IDE specific git ignore files

* add log for new user
2018-07-18 16:03:54 -07:00
Dasha Korneichuk
a15b071134 Fix typos (#77)
* Fix typo

* Update 01_price_of_groceries.swift
2018-07-18 16:02:14 -07:00
Evgeny Garlukovich
0c9424455e Add Elixir examples for hash tables 2018-04-20 08:18:52 -07:00
Ramit Mittal
2f939182ae Resolve Issue #40: Changed more examples to use python3 syntax (#56) 2018-03-19 09:48:21 -07:00
Danh Nguyen
1fa164c40e Resolve Issue #40: Python 2 print statements changed to use Python 3 print function (#50)
* Update 01_selection_sort.py

Updated last print statement for Python 3 print function.

* Update 01_countdown.py

Updated print statement to print function for Python 3.

* Update 05_quicksort.py

Updated print statement to print function for Python 3.

* Update 01_price_of_groceries.py

Condensed dictionary creation into one line, edited print statement to a print function for Python 3.

* Update 01_set_covering.py

Changed print statement to print function for Python 3.

* Update 01_binary_search.py

Changed print statements to print function for Python 3.
2018-02-03 11:15:07 -08:00
Seoungtae Kim
24b6376d94 golang about 05_hash_tables (#42)
* recursion_Golang

* go_fmt

* selection_sort_Golang

* rm-golang

* selection_sort_Golang

* selection_sort_Golang

* selection_sort_Golang

* dynamic_golang

* golang 05_hash_tables 02_check_voter.go

* golang 05_hash_tables 01_price_of_groceries
2017-11-20 08:05:40 -08:00
Yossi Adler
ec2890a93d Add ES6 Examples to all chapters (#38)
* add ES6 example for binary search

* add ES6 example for selection sort

* add ES6 example for countdown

* add ES6 example for greet

* add ES6 example for factorial

* edit ES6 example for quicksort

* add ES6 example for loop sum

* add ES6 example for recursive sum

* add ES6 example for recursive count

* add ES6 example for recursive max

* add ES6 example for price of groceries

* add ES6 example for check voter

* add ES6 example for breadth-first search

* add ES6 example for dijkstras algorithm

* edit ES6 example for dijkstras algorithm

* edit ES6 example for set covering

* add ES6 example for longest common subsequence
2017-11-13 08:12:59 -08:00
Vendin
1a81d3e6b2 Hash tables for PHP (#39) 2017-11-13 08:12:01 -08:00
chase-g
7d6d36ccb2 Adding Scala examples for Chapter 4 and Chapter 5 (#30)
* Add files via upload

* Update 01_countdown.scala

* Update 02_greet.scala

* Update 02_greet.scala

* Create scala

* Delete scala

* Add files via upload

* Add files via upload
2017-09-26 10:40:43 -07:00
zhangjiong
86785a0659 Add Lua code for chapter 5 2017-08-27 14:25:58 -04:00
Aditya Bhargava
468fda77a2 clean up javascript files 2017-06-11 16:15:26 -07:00
Bijoy Thomas
6f78bdf3d7 Adding Haskell examples (#17)
* Adding binary search example for Haskell

* Adding selection sort example in Haskell

* Adding Haskell examples for chapter 3

* Adding examples for chapter 4

* Adding examples for chapter 5

* Adding git ignore

* Add Haskell example for BFS
2017-06-11 19:12:48 -04:00
Oleh Novikov
4631b7a156 add examples in java 8 (#12)
* code for chapters 3-9 in Java

* code for chapters 1 in Java

* code for chapter 2 in Java

* missing CheckVoter for chapter 5 in Java

* add missing sample output for SetCovering as a comment
2017-03-20 09:06:45 -07:00
Anthony Marchenko
12265a8c61 Add examples on Swift 3.0.2 (#11)
* 01_binary_search Swift 3.0.2

* 01_binary_search Swift 3.0.2

* add Chapter 2 - 01_selection_sort Swift 3.0.2 example

* 01_binary_search cosmetic note updates Swift 3.0.2

* 03_recursion Swift 3.0.2 examples

* 04_quicksort Swift 3.0.2 examples

* fix typo on quicksort example. Swift 3.0.2

* add  05_hash_tables examples on Swift 3.0.2

* add 01_breadth-first_search Swift 3.0.2 example

* 01_breadth-first_search fixing typo Swift 3.0.2

* add 01_dijkstras_algorithm on Swift 3.0.2

* add 08_greedy_algorithms Swift 3.0.2 example

* 01_longest_common_subsequence Swift 3.0.2 example
2017-03-15 16:05:38 -07:00
Jim Vaughan
62ed616954 add csharp examples (#10) 2016-11-07 13:43:30 -08:00
Kevin Nguyen
96c766f9d9 code from chapter 5 in javascript 2016-06-17 19:14:45 -07:00
Kevin Nguyen
bad0a2ac3d code from chapter 5 in javascript 2016-06-17 10:03:11 -07:00
Leon Rische
4794bad93a code for chapter 5 in ruby 2016-03-03 15:43:19 +01:00
Aditya Bhargava
8b9893cdc0 code for chapter 5 2016-03-02 14:32:36 -08:00