Commit Graph

1531 Commits

Author SHA1 Message Date
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
Sohan Rudra
7681d0f3c7 Added an algorithm for finding nth term of fibonacci sequence. (#23)
* Added an algorithm for finding nth term of fibonacci sequence using divide and conquer

* New Function descriptions added

* Added the extra line and also the return 0
2017-09-24 01:45:29 +05:30
Madhav
ff0eb06f13 segment tree with lazy propagation 2017-08-29 15:04:30 +05:30
Madhav
facfb2f35e Added MO's algorithm 2017-08-28 11:31:04 +05:30
Praveen
ba6fe803ce Merge pull request #21 from shivhek25/master
Added sparse matrix program.
2017-08-08 13:40:17 +05:30
Madhav
1368a272d3 Kruskal's Algorithm 2017-07-29 10:55:00 +05:30
Shivam Singhal
f1571e7b04 Added sparse matrix program. 2017-06-07 21:41:54 +05:30
Anup Kumar Panwar
0a63358390 Merge pull request #20 from shivhek25/master
Added buzz number program.
2017-06-07 14:49:38 +05:30
Shivam Singhal
c1f2201e94 Added union and intersection of 2 arrays. 2017-06-06 12:50:27 +05:30
Shivam Singhal
74b6428eed Added happy number program. 2017-06-04 15:57:09 +05:30
Shivam Singhal
79d9c6164a Merge https://github.com/shivhek25/C-Plus-Plus
Necessary.
2017-06-04 14:14:16 +05:30
Shivam Singhal
2618482840 Added buzz number program. 2017-06-04 14:12:56 +05:30
Shivam Singhal
3886bf4fd7 Merge pull request #1 from TheAlgorithms/master
Updated forked repo.
2017-06-03 23:51:23 +05:30
Chetan Kaushik
163192b3f1 Merge pull request #19 from shivhek25/master
Modified it.
2017-06-02 11:45:30 +05:30
Shivam Singhal
d4d004fe83 Added comments. 2017-06-02 11:43:26 +05:30