Commit Graph

289 Commits (1d8fbaaa47a7b46dc2d0bf07090ed647862f148d)

Author SHA1 Message Date
the-void-century 1d8fbaaa47
Create stickler-thief.cpp
// Given an Array which represents a linear arrangement of houses on a street ,The Integers represent the amount of money in every house. A Thief is planning on robbing the entire street but he can only loot houses that are not adjacent. Find the maximum amount of money that can be looted from the street.
2022-07-11 19:14:27 +05:30
Anika Kamath c780f5a641
chore(Python): add sum of n numbers using recursion (#770) 2022-07-09 11:31:28 -04:00
Ankit Gupta bacaa04f5a
fix(CPlusPlus): number system links (#762)
Co-authored-by: en1gm479 <spydergup@gmail.com>
2022-06-05 14:00:06 -04:00
Nibedita Chakraborty 2152f16a71
chore(Python): add Breadth First Search for a graph (#760) 2022-05-29 10:07:46 -04:00
Ankit Gururani 25e68800e4
docs(CSharp): grammar enhancement (#757) 2022-05-10 18:26:33 -04:00
Valerio Cipolla 0cc7c94675
chore(Javascript): add factorial recursion (#756) 2022-05-06 09:01:10 -04:00
Valerio Cipolla 6a64805e36
chore(Javascript): add fibonacci series (#752)
* Add fibonacci series for javascript

* Added doc in js readme for fibonacci series

* Add user-friendly description of algorithm in comments

* fix change fibs to series

* fix output spelling

* add time complexity
2022-04-30 12:38:43 -04:00
Matt 09b5568315
chore(CSharp): add character limit (#740)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2022-04-21 09:38:29 -04:00
Ghada AbdulWahab 76d3bf22aa
chore(Python): add breath-first search (#738)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-04-20 09:37:34 -04:00
Ghada AbdulWahab bc0569ad09
chore(Python): add uniform cost search (#723)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2022-04-16 14:08:02 -04:00
sam chan dd601a7734
chore(Python): add dutch national flag algo (#720) 2022-04-11 09:38:45 -04:00
Mohammadreza Heidari 2c22117eb2
chore(CSharp): add minima maxima (#730)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2022-04-07 10:27:12 -04:00
Shivam Patel 158d8c0d49
enh(CPlusPlus): add helps function on kruskal algorithm (#731)
Co-authored-by: Shivam Patel <shivampatel@Shivams-Air.attlocal.net>
2022-04-04 08:42:55 -04:00
Aarushi Maurya e49aea4487
chore(CPlusPlus): add print all nodes at a level on trees (#696)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
Co-authored-by: Rahul Rajeev Pillai <66192267+Ashborn-SM@users.noreply.github.com>
2022-04-01 15:00:29 -04:00
Nokhalal Mahato 6d91e800be
chore(CPlusPlus): add number system (#714)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-03-29 08:45:50 -04:00
makrandbhonde b7fa62ce5d
chore(Python): add program to print middle node element of linked list (#716) 2022-03-28 14:38:37 -04:00
Luigi Altamura ec7c098897
chore(C): add odd or even number (#719)
Co-authored-by: LuigiAltamura <luigi.altamura@mail.polimi.it>
2022-03-24 10:12:56 -04:00
Mohanad Talat f35e35ef5c
chore(C): add radix sort (#718) 2022-03-21 08:51:55 -04:00
T.K.Santhosh 75e0a5dc3c
chore(Python): add remove duplicates in list (#711) 2022-03-08 15:58:00 -04:00
kartiknad 15d44eddae
chore(Python): add Rabin Karp algorithm (#699)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-03-06 21:50:41 -04:00
Helena He a1eff4fc8b
chore(CPlusPlus): add cycle detection (#686) 2022-03-01 09:01:18 -04:00
ryanoliverdev 1b5bd0b1eb
chore(CPlusPlus): add sum of right leaves in binary tree (#689) 2022-02-28 09:30:01 -04:00
Aarushi Maurya 825685dcce
chore(CPlusPlus): add fibonacci (#703) 2022-02-23 09:14:56 -04:00
ANUJ BISHT e1f258ce04
chore(C): add largestElement in array (#705) 2022-02-23 09:13:42 -04:00
Soumya Shankar Banerjee 7b07f177b9
enh(Python): add insert end function on singly linked list (#700)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-02-21 15:28:28 -04:00
Kathy 27cfae8f52
chore(Python): add first in first out queue (#691) 2022-02-09 21:16:40 -04:00
stutimohta20 3b22e9c5e4
chore(CPlusPlus): add prefix to postfix stacks (#674)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
Co-authored-by: Rahul Rajeev Pillai <66192267+Ashborn-SM@users.noreply.github.com>
2022-02-07 11:06:12 -04:00
Radhika Bansal 23595e9524
chore(Java): add target-sum-subsets problem (#687) 2022-02-07 10:58:35 -04:00
morkovka3 350072da9e
chore(Python): add Levenshtein distance (#685) 2022-02-07 10:58:16 -04:00
Anish 5bfa1de2fc
chore(C): add shell sort (#678) 2022-02-02 01:33:55 -04:00
nash4826 8fcdba9741
chore(C): add tower of Hanoi using recursion (#681) 2022-01-26 09:06:18 -04:00
Alim Kerem Erdoğmuş d3590720cf
enh(Python): rename from karatsuba.py to karatsuba_algorithm.py (#670) 2022-01-24 13:33:29 -04:00
Pablo 65caa7adf9
enh(CPlusPlus): fix indent stock span problem (#673) 2022-01-19 09:30:46 -04:00
manekasingh05 564b5db025
chore(CPlusPlus): add max and min average (#631)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2022-01-17 14:37:19 -04:00
B Jagdish Reddy 676d1257e5
chore(Java): added fibonacci using matrix exponentiation (#540)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2022-01-17 14:29:19 -04:00
Anish 0c32ec78cb
chore(C): add fibonacci series (#666) 2022-01-17 08:50:23 -04:00
Darshan Trivedi f97cb54a2e
enh(CPlusPlus): add missing space to power-of-two maths (#667)
Co-authored-by: Rahul Rajeev Pillai <66192267+Ashborn-SM@users.noreply.github.com>
Co-authored-by: datshan-trivedi-10 <dbtrivedi03@gmail.com>
2022-01-13 08:59:14 -04:00
Alim Kerem Erdoğmuş 110518e7c6
enh(Python): rename from insertionSort_rec to insertion_sort_rec (#669) 2022-01-13 08:55:32 -04:00
Cem Bağlum fd9f7b4806
enh(Python): binary tree (#665) 2022-01-13 08:55:01 -04:00
simonkarofillidis 98bac46911
chore(CSharp): add NaisMith rule (#660) 2022-01-11 10:41:28 -04:00
Alim Kerem Erdoğmuş 63cdb35173
chore(Python): rename n-th_fibonacci_number.py to nth_fibonacci_number.py (#664) 2022-01-07 08:59:22 -04:00
Cem Bağlum 88ab2025be
enh(Python): rename function's name to factorial_nonrecursion (#662) 2022-01-05 17:06:26 -04:00
Suraj Kumar 2f056c5378
chore(Java): add random node in a binary tree (#659) 2022-01-05 09:23:09 -04:00
Anish 6c646cb6ab
chore(C): add stacks arrays and linked list (#655)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-01-05 09:21:41 -04:00
atulll e8bb90680d
enh(Javascript): Delay swapping (#653) 2021-12-30 08:48:16 -04:00
Rohan Karan ca62f9158c
chore(Python): add two sum for Dictionaries (#656) 2021-12-28 09:15:08 -04:00
Anish e0194a60d2
chore(C): add quick sort (#652) 2021-12-18 09:50:37 -04:00
DEBJIT efe35f5321
chore(CPlusPlus): add stock span problem (#649)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-12-13 14:36:34 -04:00
atulll 927da7a9ab
enh(JavaScript): binary-search (#645) 2021-12-09 09:09:19 -04:00
atulll b5d44d3bd3
fix(Javascript): bubble sort (#647) 2021-12-09 09:06:45 -04:00