Commit Graph

1095 Commits

Author SHA1 Message Date
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
Nidheesh Pandey
feeca86843 Update Dijkstra.cpp 2017-10-13 21:25:53 +00:00
Nidheesh Pandey
7040e27fb2 Create Dijkstra.cpp 2017-10-13 16:07:47 +00:00
arpanjain97
8b65482500 Fix output display 2017-10-13 11:54:05 +05:30
Chetan Kaushik
220c0fbaf8 Merge pull request #43 from DTBUday/master
Ternary Search Algorithm
2017-10-12 18:45:06 +05:30
arpanjain97
9cd56c01ad Add Floyd-Warshall Algorithm 2017-10-12 17:23:14 +05:30
arpanjain97
dbeacd4e17 Add Bellman-Ford Algorithm 2017-10-12 17:20:34 +05:30
arpanjain97
791e0b1ed4 Add Dijkstra's single source shortest path Algorithm in Greedy Algorithms directory 2017-10-12 17:12:54 +05:30
Uday Patel
e8e2b9c427 Added Sieve of Eratostheness 2017-10-09 02:34:50 +01:00
Uday Patel
32b8015a45 Ternary Search Algorithm 2017-10-09 02:19:59 +01:00
harjot3200
515e70a579 sleep sort via c 2017-10-08 20:08:04 +05:30
harjot3200
8016377839 CODE for Spiral printing of an array 2017-10-08 11:52:46 +05:30
Santo
cb8514acf5 DFS with stack 2017-10-01 09:40:00 +02:00
harjot3200
f89d9051c7 Solver for sudoku 2017-10-01 12:47:28 +05:30
Sachin Arora
d43d62adc2 Merge pull request #28 from alkino/patch-1
Fix happy number algorithm.
2017-09-29 20:31:47 +05:30
Nicolas Cornu
3c1f2c1d8e Fix happy number algorithm.
Don't code when drunk or test it.
2017-09-29 15:26:47 +02:00
Anup Kumar Panwar
27c6db1448 Merge pull request #26 from sayantikabanik/master
bucket sort code added
2017-09-29 10:51:07 +05:30
Sayantika Banik
4d8185f83e bucket sort code added 2017-09-29 07:55:30 +05:30