Commit Graph

116 Commits (42d3114f7819b9cd357bbe6b431bfd574f1ac6bb)

Author SHA1 Message Date
ashish 42d3114f78 Added word break problem 2023-11-06 22:47:12 +00:00
Uma-95 af47764be0
chore(CPlusPlus): add largest and smallest number in an array (#1110) 2022-12-22 09:29:25 -04:00
RK-Shandilya bb641ee600
chore(CPlusPlus): add reverse in groups of K (#1106) 2022-12-22 09:28:01 -04:00
RK-Shandilya 6620f32d9c
chore(CPlusPlus): add reverse the string wordwise (#1100) 2022-12-14 14:26:00 -04:00
Yashkumar Gupta 4b2835bae6
chore(CPlusPlus): add find words matching pattern dictionary (#1050)
* Create find_all_words_matching_pattern_in_given_dictionary.cpp

Given a dictionary of words where each word follows a CamelCase notation, find all words in it that matches a given pattern of all uppercase characters.

We can use a Trie data structure to solve this problem. The idea is to insert all uppercase characters of each word in the CamelCase dictionary into a Trie.

Expected output:
HiTech
HiTechLab
HiTechCity

* Update README.md
2022-11-30 08:45:11 -04:00
Yashkumar Gupta 7aa0b7be6f
chore(CPlusPlus): add rat in a maze problem (#1051)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-11-30 08:42:45 -04:00
nandinisahu407 07d7d4aeb8
chore(CPlusPlus): add special index in an array (#1048)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-10-30 12:03:10 -04:00
ashwath462 4fc4e6e25b
chore(CPlusCPlus): add trie algorithms (#1006) 2022-10-15 20:32:12 -04:00
Jyoti Singh 9aae0fe5ea
chore(CPlusPlus): add rod cutting problem (#985)
* Rod cutting in cpp completed

* Update rod-cutting.cpp
2022-10-15 21:22:10 +05:30
Virendra Carpenter 1cc547fd8b
chore(CPlusPlus): add balanced parenthesis problem (#930) 2022-10-13 08:42:33 -04:00
Jyoti Singh 3c7339e59c
chore(CPlusPlus): add redundant parenthesis (#946)
* Redundant parenthesis in cpp completed

* Update README.md
2022-10-08 14:19:57 +05:00
Pravar Anu 07c44c1843
chore(CPlusPlus) : add reverse linked list (#942) 2022-10-06 13:31:13 -04:00
KARTIKEY SINGH 9b6d8e0b77
chore(CPlusPlus): add detecting a cycle in a graph (#862)
* Add files via upload

* Delete Detecting a cycle in a graph (Using three color mechanism).cpp

* Create detecting-cycle-in-a-graph-using-three-color-mechanism.cpp

* Update detecting-cycle-in-a-graph-using-three-color-mechanism.cpp

* Update detecting-cycle-in-a-graph-using-three-color-mechanism.cpp

* Update README.md
2022-10-06 18:45:10 +05:30
AMIT KUSHWAHA c6a454590d
chore(CPlusPlus): add sliding windows (#853) 2022-10-04 16:05:38 -04:00
Devang-Shah-49 b67f5e1786
chore(CPlusPlus): add n-queens backtracking algorithm (#812)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-09-28 18:14:20 -04:00
Mohnish Deshpande 88b0e15b52
chore(CPlusPlus): add binary power on maths algorithm (#810)
Co-authored-by: angshudas <offangshudas123@gmail.com>
Co-authored-by: Mohnish Deshpande <mohnish@pop-os.localdomain>
2022-09-01 11:40:21 -04:00
angshudas a68c012fea
chore(CPlusPlus): add prim's graph algorithm (#816)
Co-authored-by: angshudas <offangshudas123@gmail.com>
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2022-09-01 11:39:18 -04:00
Mohit Chakraverty 3a11c6328b
Merge pull request #818 from ssandra102/add-new-code
chore(CPlusPlus): add sparse matrix
2022-09-01 18:12:36 +05:30
Sandra 3a65798024 updated readme 2022-09-01 16:40:53 +05:30
Mosab Mohamed 788c04c926
Open chore(CPlusPlus): add Floyd Warshall algorithm (#791) 2022-08-30 19:31:17 -04:00
Ashad e42f4bb0b1
chore(CPlusPlus): add reverse number algorithm (#789)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2022-08-11 14:52:36 -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
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
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
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
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
Samruddhi Ghodake 5d8fbc07b5
chore(CPlusPlus): add linear search for recursion and two dimension array (#630) 2021-11-12 20:33:29 -04:00
Samruddhi Ghodake 79efa7a0dc
chore(CPlusPlus): add longest common prefix and first unique character (#619) 2021-11-01 08:59:06 -04:00
RulerOfCakes 33313e347a
chore(CPlusPlus): add dijkstra graphs (#625) 2021-10-29 20:12:13 -04:00
Ekta kanojia bc11c85267
chore(CPlusPlus): add next permutation (#621) 2021-10-27 08:58:31 -04:00
Priyansh Kumar e8e60ed18e
chore(CPlusPlus): add totient function (#549)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-10-22 14:29:50 -04:00
Ekta kanojia 07d05b2c88
chore(CPlusPlus): add merge two sorted in array (#612)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-22 09:14:52 -04:00
Ekta kanojia 5098737c64
chore(CPlusPlus): add three sum (#595)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-22 09:04:01 -04:00
shefali kanojia 2dddebc516
chore(CPlusPlus): add index of smallest element in array (#584)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-22 09:00:43 -04:00
Manas Tiwari c152e76522
chore(CPlusPlus): add smallest-possible-sum (#555) 2021-10-22 08:58:06 -04:00
Ellika Mishra cb60762c39
chore(CPlusPlus): trie datastructure for searching added (#578) 2021-10-21 08:45:10 -04:00
Vinaya S Rao 2f6eece500
chore(CPlusPlus): add move zeros to end program (#563)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-19 09:27:33 -04:00
Samruddhi Ghodake 96c9f520fb
chore(CPlusPlus): add even no of digits (#579)
Co-authored-by: Arsenic <54987647+Arsenic-ATG@users.noreply.github.com>
2021-10-19 09:03:20 -04:00
MONIKA CHAUHAN 2f858d38ce
chore(CPlusPlus): add kadane for array (#558)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-17 14:42:14 -04:00
Samruddhi Ghodake f85160e131
chore(CPlusPlus): add recursion programs - part 2 (#574) 2021-10-15 09:08:10 -04:00
Puneet Goel 228d6e3615
chore(CPlusPlus): add segmented sieve for range (#535)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-15 09:07:26 -04:00
Samruddhi Ghodake 2c9de0ed94
chore(CPlusPlus): add recursion programs (#559)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-13 08:46:40 -04:00
Anudeep 50bfffbc37
chore(CPlusPlus): add smallest-possible-sum (#560) 2021-10-13 08:43:44 -04:00
Puneet Goel bd97f4e0b4
chore(CPlusPlus): add Recursive Prime Checker (#548)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
Co-authored-by: Ujjwal <75884061+UG-SEP@users.noreply.github.com>
2021-10-12 12:30:10 -04:00
Priyansh Kumar 399383294c
chore(CPlusPlus): add maximum sum rectangle (#550)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-12 08:45:18 -04:00
Krishan Kant Agnihotri aa717b0f5c
chore(CPlusPlus): add Fenwick Tree (#542)
Co-authored-by: Ming Tsai <37890026+ming-tsai@users.noreply.github.com>
2021-10-11 09:02:30 -04:00
Priyansh Kumar d048d9ab51
chore(CPlusPlus): add coin change problem (#552) 2021-10-11 08:51:28 -04:00