Commit Graph

1612 Commits

Author SHA1 Message Date
Christian Bender
cbcccf0418
Merge pull request #58 from rohitchugh9/master
Thanks for contributing
2018-02-20 22:01:55 +01:00
Christian Bender
87e79e916c
Merge pull request #44 from arpanjain97/master
Thanks for contributing!
2018-01-15 15:37:23 +01:00
Christian Bender
12aa989055
Merge pull request #85 from hegdenaveen1/patch-12
Added Numeric String Sort
2018-01-15 15:33:24 +01:00
Christian Bender
0ac736ea77
Merge pull request #48 from nghiaxlee/nghiaxlee_comb_sort
Thanks for contributing
2018-01-06 15:49:27 +01:00
Le Minh Nghia
51caf366c9
Replace library 2018-01-03 19:35:42 +01:00
Christian Bender
a3b6d81c68
Merge pull request #31 from harjot3200/master
codes for issue #24
2018-01-03 19:24:02 +01:00
Christian Bender
3ca55dc5bf
Merge pull request #45 from iamnidheesh/patch-1
Create Dijkstra.cpp
2018-01-03 19:18:46 +01:00
Christian Bender
371a30cdd3
Merge pull request #86 from hegdenaveen1/patch-13
Added Cocktail Selection Sort
2018-01-03 19:16:51 +01:00
Naveen Hegde
d4c358f369
Added Cocktail Selection Sort
Cocktail Selection Sort is a Sorting algorithm which chooses the minimum and maximum element in an array simultaneously, and swaps it with the lowest and highest available position iteratively or recursively
2017-12-30 02:10:22 +05:30
Naveen Hegde
969731d9cd
Added Numeric String Sort
Sorts an array of Numeric strings.
An array of strings like 1,2,3,10,20,30,100,200,300 are sorted as 1,10,100,2,20,200,3,30,300 Conventionally.
This programme sorts them in the correct numeric order i.e 1,2,3,10,20,30,100,200,300
2017-12-30 02:02:44 +05:30
Christian Bender
f72022b3cc
Merge pull request #32 from dcariotti/patch-1
DFS with stack
2017-12-29 21:05:56 +01:00
Christian Bender
1044f9b4d8
Merge pull request #77 from hegdenaveen1/patch-3
Added SlowSort
2017-12-29 21:00:05 +01:00
Christian Bender
ceb6a8eff7
Merge pull request #79 from hegdenaveen1/patch-4
Rectified Linear Search
2017-12-29 20:59:05 +01:00
Christian Bender
725373cef8
Merge pull request #83 from hegdenaveen1/patch-11
super!
2017-12-29 20:55:54 +01:00
Nidheesh Pandey
bc8ef9e8a9
add comments and remove <bits/stdc++.h> 2017-12-28 19:56:35 +05:30
Naveen Hegde
22eab38352
Update String Fibonacci.cpp
removed std::
2017-12-27 23:24:38 +05:30
Christian Bender
f2ca4b9a29
Merge pull request #80 from hegdenaveen1/patch-8
Fixed Linear Search
2017-12-27 13:53:12 +01:00
Christian Bender
476208fbd3
Add files via upload 2017-12-27 13:47:42 +01:00
Christian Bender
8188591236
Update README.md 2017-12-27 13:43:39 +01:00
Christian Bender
5147c7efa9
Add files via upload 2017-12-27 13:42:48 +01:00
Christian Bender
1aae2d3ff2
Merge pull request #65 from pallavichugh/master
Added Egg Dropping Puzzle in Dynamic_Programming
2017-12-27 13:15:21 +01:00
Christian Bender
4912552862
Merge pull request #81 from hegdenaveen1/patch-9
Updated logic of fibonacci
2017-12-27 13:14:37 +01:00
Christian Bender
6fe7fbd9c5
Merge pull request #82 from hegdenaveen1/patch-10
Thanks!
2017-12-27 13:13:18 +01:00
Naveen Hegde
ab0649797b
Added String Fibonacci
This programme uses String Addition to find Nth fibonacci.
2017-12-26 17:46:50 +05:30
Naveen Hegde
97b1b9d8e0
Decimal to Roman Numeral.cpp
copied the file from 
C-Plus-Plus/Decimal to Roman Numeral.cpp
to
C-Plus-Plus/Others/
directory to facilitate organizing.
2017-12-26 16:44:46 +05:30
Naveen Hegde
f024afc74f
Updated logic of fibonacci
Updated this file similar to the directory
C-Plus-Plus/Others/fibonacci.cpp
2017-12-26 16:41:23 +05:30
Naveen Hegde
61c27171d4
Fixed Linear Search
Linear Search was returning key instead of index. Fixed it.
Changed array from size 10 to variable sized.
Same changes like the linear search in different directory.
2017-12-26 16:36:19 +05:30
Naveen Hegde
58fec90013
Rectified Linear Search
Previous programme was returning key instead of index. Fixed it.
Changed size of array from 10 to variable sized array.
2017-12-26 16:29:37 +05:30
Naveen Hegde
e1879d3432
Added SlowSort
added the main function as requested.
added only the necessary header as requested.
Description of Slow Sort can be found here https://en.wikipedia.org/wiki/Slowsort
2017-12-25 23:38:23 +05:30
Christian Bender
489de17556
Merge pull request #75 from hegdenaveen1/patch-7
Updated logic of fibonacci.cpp
2017-12-25 15:56:39 +01:00
Christian Bender
b8c373b1b1
Merge pull request #74 from hegdenaveen1/patch-6
Add Primality Test
2017-12-25 15:52:35 +01:00
Christian Bender
58657be6eb
Merge pull request #73 from hegdenaveen1/patch-5
Thanks
2017-12-25 15:50:32 +01:00
Naveen Hegde
8ea50b59a3
Updated logic of fibonacci.cpp
Implemented an easier to implement and faster algorithm than the already present matrix exponentiation method.
This is faster than matrix exponentiation method as it is a DP form of matrix exponentiation.
2017-12-25 15:11:31 +05:30
Naveen Hegde
8dcb42c2bd
Add Primality Test
removed bits/stdc++.h as suggested.
added brackets as suggested.
2017-12-25 14:39:09 +05:30
Naveen Hegde
defa61f4fa
Added Decimal to Roman Numeral Converter
added test cases and main function as requested.
removed bits/stdc++.h and added only the necessary headers as requested
2017-12-25 14:28:00 +05:30
Christian Bender
0c6eca0a88
Merge pull request #59 from sandeeproy99/patch-1
Thanks for your contribute
2017-12-23 23:13:51 +01:00
Christian Bender
73aff5153b
fix issue #25
I changed datatype **int** to **long long**
2017-12-23 23:08:23 +01:00
Christian Bender
242e8eaef2
fix issue #25
I change datatype **int** to **long long**
2017-12-23 23:06:42 +01:00
Christian Bender
92e733fb0f
Update README.md 2017-12-23 22:53:02 +01:00
Christian Bender
a169c04a18
Merge pull request #57 from akhem301/master
Prime Factorization of a number
2017-12-23 22:51:16 +01:00
Christian Bender
6eae74cc96
Merge pull request #70 from christianbender/master
changed the directory structure
2017-12-23 18:33:38 +01:00
Christian Bender
4b7d334c6e
Add files via upload 2017-12-23 18:30:49 +01:00
Pallavi Chugh
10db5fb326 Added Egg Dropping Puzzle in Dynamic_Programming 2017-10-29 23:28:02 +05:30
sandeeproy99
8b6530526a
Tim Sort.cpp
Tim Sort Algorithm is based on radix sort & bubble sort.

It's stable algorithm which works in O(n Log n) time, is used in Java's Array.sort(). It first sorts using small pieces, later sorts each with merge sort.
2017-10-28 16:26:02 +05:30
Rohit Chugh
85dc1cbbe1 Edit Distance Algorithm 2017-10-28 15:36:20 +05:30
akhem301
529fc1843e Prime Factorization of a number 2017-10-28 02:01:19 +05:30
Le Minh Nghia
7fac260d53 Merge pull request #1 from nghiaxlee/nghiaxlee-combsort-patch-1
Add comment to make easier to understand
2017-10-23 09:59:20 +02:00
Le Minh Nghia
98ab1c88d9 Add comment to make easier to understand 2017-10-23 09:57:46 +02:00
shazly333
5a666ce089 Add Ternary Search 2017-10-17 17:31:21 +02:00
nghiaxlee
54dd331093 Comb Sort algorithm 2017-10-15 10:19:32 +02:00