├── Dynamic Programming.md.pdf ├── Greedy.md.pdf ├── Lecture -09 BST, Heaps ├── bst_new.cpp ├── fruit_heap.cpp ├── heap.cpp ├── heap_notes.pdf ├── heap_stl.cpp └── k_elements_in_running_stream.cpp ├── Lecture 02 - Bitmasking, Recursion ├── inc_dec.cpp ├── ladders.cpp ├── not_so_easy_math.cpp ├── power_fn.cpp ├── sorted_array.cpp └── subset_generation.cpp ├── Lecture 04 - Backtracking ├── car_sorting.cpp ├── fruit_compare.cpp ├── fruit_using_set.cpp ├── functor.cpp ├── n_queen.cpp ├── pair.cpp ├── permutations.cpp ├── phone_keypad.cpp ├── rat_in_maze.cpp ├── set_data_Structure.cpp └── set_stl.cpp ├── Lecture 05 - Binary Search ├── aggresive_cows.cpp ├── lower_bound.cpp ├── square_root.cpp ├── sudoku.cpp └── sudoku_test_case.cpp ├── Lecture 06 - OOPs, Linked List ├── linked_list.cpp └── vector.cpp ├── Lecture 07 - LL, Binary Tree ├── binary_tree_basic.cpp └── linked_list_new.cpp ├── Lecture 08 - Trees Contd ├── binary_tree.cpp └── bst.cpp ├── Lecture 11 - Dynamic Programming ├── min_coins_needed.cpp ├── min_steps_to_one.cpp └── wines.cpp ├── Lecture 13 - Graphs ├── graphs_1.cpp ├── journey.cpp └── snakes.cpp ├── Lecture-03 Recursion Continued ├── generate_brackets.cpp ├── inv_cnt.cpp ├── merge_sort.cpp ├── notes.pdf ├── replace_pi.cpp ├── string_generation.cpp ├── subsequence.cpp ├── substrings_generation.cpp └── tower_of_hanoi.cpp ├── Lecture-10 Hashing ├── hashmap_stl.cpp ├── hashtable.cpp ├── heap_stl.cpp ├── lecture_10_hashing_notes.pdf ├── map_stl.cpp └── trie.cpp ├── binary_to_decimal.cpp ├── birthday_paradox.cpp ├── count_set_bits.cpp ├── pass_by_value.cpp ├── pointer_test.cpp ├── unique_no_2.cpp └── unique_no_3.cpp /Dynamic Programming.md.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Dynamic Programming.md.pdf -------------------------------------------------------------------------------- /Greedy.md.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Greedy.md.pdf -------------------------------------------------------------------------------- /Lecture -09 BST, Heaps/bst_new.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture -09 BST, Heaps/bst_new.cpp -------------------------------------------------------------------------------- /Lecture -09 BST, Heaps/fruit_heap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture -09 BST, Heaps/fruit_heap.cpp -------------------------------------------------------------------------------- /Lecture -09 BST, Heaps/heap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture -09 BST, Heaps/heap.cpp -------------------------------------------------------------------------------- /Lecture -09 BST, Heaps/heap_notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture -09 BST, Heaps/heap_notes.pdf -------------------------------------------------------------------------------- /Lecture -09 BST, Heaps/heap_stl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture -09 BST, Heaps/heap_stl.cpp -------------------------------------------------------------------------------- /Lecture -09 BST, Heaps/k_elements_in_running_stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture -09 BST, Heaps/k_elements_in_running_stream.cpp -------------------------------------------------------------------------------- /Lecture 02 - Bitmasking, Recursion/inc_dec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 02 - Bitmasking, Recursion/inc_dec.cpp -------------------------------------------------------------------------------- /Lecture 02 - Bitmasking, Recursion/ladders.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 02 - Bitmasking, Recursion/ladders.cpp -------------------------------------------------------------------------------- /Lecture 02 - Bitmasking, Recursion/not_so_easy_math.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 02 - Bitmasking, Recursion/not_so_easy_math.cpp -------------------------------------------------------------------------------- /Lecture 02 - Bitmasking, Recursion/power_fn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 02 - Bitmasking, Recursion/power_fn.cpp -------------------------------------------------------------------------------- /Lecture 02 - Bitmasking, Recursion/sorted_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 02 - Bitmasking, Recursion/sorted_array.cpp -------------------------------------------------------------------------------- /Lecture 02 - Bitmasking, Recursion/subset_generation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 02 - Bitmasking, Recursion/subset_generation.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/car_sorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/car_sorting.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/fruit_compare.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/fruit_compare.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/fruit_using_set.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/fruit_using_set.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/functor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/functor.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/n_queen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/n_queen.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/pair.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/pair.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/permutations.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/permutations.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/phone_keypad.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/phone_keypad.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/rat_in_maze.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/rat_in_maze.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/set_data_Structure.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/set_data_Structure.cpp -------------------------------------------------------------------------------- /Lecture 04 - Backtracking/set_stl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 04 - Backtracking/set_stl.cpp -------------------------------------------------------------------------------- /Lecture 05 - Binary Search/aggresive_cows.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 05 - Binary Search/aggresive_cows.cpp -------------------------------------------------------------------------------- /Lecture 05 - Binary Search/lower_bound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 05 - Binary Search/lower_bound.cpp -------------------------------------------------------------------------------- /Lecture 05 - Binary Search/square_root.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 05 - Binary Search/square_root.cpp -------------------------------------------------------------------------------- /Lecture 05 - Binary Search/sudoku.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 05 - Binary Search/sudoku.cpp -------------------------------------------------------------------------------- /Lecture 05 - Binary Search/sudoku_test_case.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 05 - Binary Search/sudoku_test_case.cpp -------------------------------------------------------------------------------- /Lecture 06 - OOPs, Linked List/linked_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 06 - OOPs, Linked List/linked_list.cpp -------------------------------------------------------------------------------- /Lecture 06 - OOPs, Linked List/vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 06 - OOPs, Linked List/vector.cpp -------------------------------------------------------------------------------- /Lecture 07 - LL, Binary Tree/binary_tree_basic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 07 - LL, Binary Tree/binary_tree_basic.cpp -------------------------------------------------------------------------------- /Lecture 07 - LL, Binary Tree/linked_list_new.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 07 - LL, Binary Tree/linked_list_new.cpp -------------------------------------------------------------------------------- /Lecture 08 - Trees Contd/binary_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 08 - Trees Contd/binary_tree.cpp -------------------------------------------------------------------------------- /Lecture 08 - Trees Contd/bst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 08 - Trees Contd/bst.cpp -------------------------------------------------------------------------------- /Lecture 11 - Dynamic Programming/min_coins_needed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 11 - Dynamic Programming/min_coins_needed.cpp -------------------------------------------------------------------------------- /Lecture 11 - Dynamic Programming/min_steps_to_one.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 11 - Dynamic Programming/min_steps_to_one.cpp -------------------------------------------------------------------------------- /Lecture 11 - Dynamic Programming/wines.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 11 - Dynamic Programming/wines.cpp -------------------------------------------------------------------------------- /Lecture 13 - Graphs/graphs_1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 13 - Graphs/graphs_1.cpp -------------------------------------------------------------------------------- /Lecture 13 - Graphs/journey.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 13 - Graphs/journey.cpp -------------------------------------------------------------------------------- /Lecture 13 - Graphs/snakes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture 13 - Graphs/snakes.cpp -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/generate_brackets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/generate_brackets.cpp -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/inv_cnt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/inv_cnt.cpp -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/merge_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/merge_sort.cpp -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/notes.pdf -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/replace_pi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/replace_pi.cpp -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/string_generation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/string_generation.cpp -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/subsequence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/subsequence.cpp -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/substrings_generation.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Lecture-03 Recursion Continued/tower_of_hanoi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-03 Recursion Continued/tower_of_hanoi.cpp -------------------------------------------------------------------------------- /Lecture-10 Hashing/hashmap_stl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-10 Hashing/hashmap_stl.cpp -------------------------------------------------------------------------------- /Lecture-10 Hashing/hashtable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-10 Hashing/hashtable.cpp -------------------------------------------------------------------------------- /Lecture-10 Hashing/heap_stl.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | 4 | -------------------------------------------------------------------------------- /Lecture-10 Hashing/lecture_10_hashing_notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-10 Hashing/lecture_10_hashing_notes.pdf -------------------------------------------------------------------------------- /Lecture-10 Hashing/map_stl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-10 Hashing/map_stl.cpp -------------------------------------------------------------------------------- /Lecture-10 Hashing/trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/Lecture-10 Hashing/trie.cpp -------------------------------------------------------------------------------- /binary_to_decimal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/binary_to_decimal.cpp -------------------------------------------------------------------------------- /birthday_paradox.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/birthday_paradox.cpp -------------------------------------------------------------------------------- /count_set_bits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/count_set_bits.cpp -------------------------------------------------------------------------------- /pass_by_value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/pass_by_value.cpp -------------------------------------------------------------------------------- /pointer_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/pointer_test.cpp -------------------------------------------------------------------------------- /unique_no_2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/unique_no_2.cpp -------------------------------------------------------------------------------- /unique_no_3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prateek27/algo-9june-2019/HEAD/unique_no_3.cpp --------------------------------------------------------------------------------