├── DataStructures ├── Arrays │ ├── 2d_array.py │ ├── array_ds.py │ ├── array_left_rotation.py │ ├── crush.py │ ├── dynamic_array.py │ └── sparse_arrays.py ├── LinkedLists │ ├── compare_two_linked_lists.py │ ├── delete_a_node_from_linked_list.py │ ├── delete_duplicate_value_nodes_from_sorted_linked_list.py │ ├── detect_whether_a_linked_list_contains_cycle.py │ ├── find_merge_point_of_two_joined_linekd_ists.py │ ├── get_the_value_of_node_at_specific_position_from_tail.py │ ├── insert_a_node_at_head_of_linked_list.py │ ├── insert_a_node_at_specific_position_of_linked_list.py │ ├── insert_a_node_at_tail_of_linked_list.py │ ├── insert_node_into_sorted_doubly_linked_list.py │ ├── print_elements_of_linked_list_in_reverse.py │ ├── print_the_elements_of_a_linked_list.py │ ├── reverse_a_linked_list.py │ └── reverse_doubly_linked_list.py └── Trees │ ├── height_of_binary_tree.py │ ├── inorder_traversal.py │ ├── postorder_traversal.py │ ├── preorder_traversal.py │ └── tree_top_view.cpp ├── DynamicProgramming ├── candies.py ├── fibonacci_modified.py ├── maxsubarray.py └── mr_k_marsh.cpp ├── GraphTheory ├── bfsshortreach.cpp ├── dijkstrashortreach.cpp ├── jack_goes_to_rapture.cpp ├── journey_to_the_moon.cpp ├── primsmstsub.cpp └── subset_component.py ├── Greedy ├── flowers.py └── reverse_shuffle_merge.py ├── Implementation ├── apple_and_orange.py ├── between_two_sets.py ├── bon_appetit.py ├── breaking_best_and_worst_records.py ├── divisible_sum_pairs.py ├── drawing_book.py ├── encryption.cpp ├── find_digits.cpp ├── grading.py ├── kangaroo.py ├── matrix_rotation_algo.cpp ├── migratory_birds.py ├── sock_merchant.py ├── the_birthday_bar.py └── the_grid_search.cpp ├── README.md ├── Search ├── icecream_parlor.py └── sherlock_and_array.py ├── Strings ├── common_child.cpp ├── hackerrank_in_a_string.py ├── morgan_and_a_string.py ├── pangrams.cpp ├── reverse_shuffle_merge.py └── sherlock_and_anagrams.cpp ├── Warmup ├── birthday_cake_candles.py ├── compare_triplets.py ├── diagonal_difference.py ├── mini_max_sum.py ├── plus_minus.py ├── simple_array_sum.py ├── solve_me_first.py ├── staircase.py ├── time_conversion.py └── very_big_sum.py ├── between_two_sets.py ├── electronics_shop.py ├── jessie_loves_candy.py ├── minimum_loss.py └── the_hurdle_race.py /DataStructures/Arrays/2d_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Arrays/2d_array.py -------------------------------------------------------------------------------- /DataStructures/Arrays/array_ds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Arrays/array_ds.py -------------------------------------------------------------------------------- /DataStructures/Arrays/array_left_rotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Arrays/array_left_rotation.py -------------------------------------------------------------------------------- /DataStructures/Arrays/crush.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Arrays/crush.py -------------------------------------------------------------------------------- /DataStructures/Arrays/dynamic_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Arrays/dynamic_array.py -------------------------------------------------------------------------------- /DataStructures/Arrays/sparse_arrays.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Arrays/sparse_arrays.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/compare_two_linked_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/compare_two_linked_lists.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/delete_a_node_from_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/delete_a_node_from_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/delete_duplicate_value_nodes_from_sorted_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/delete_duplicate_value_nodes_from_sorted_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/detect_whether_a_linked_list_contains_cycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/detect_whether_a_linked_list_contains_cycle.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/find_merge_point_of_two_joined_linekd_ists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/find_merge_point_of_two_joined_linekd_ists.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/get_the_value_of_node_at_specific_position_from_tail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/get_the_value_of_node_at_specific_position_from_tail.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/insert_a_node_at_head_of_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/insert_a_node_at_head_of_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/insert_a_node_at_specific_position_of_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/insert_a_node_at_specific_position_of_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/insert_a_node_at_tail_of_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/insert_a_node_at_tail_of_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/insert_node_into_sorted_doubly_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/insert_node_into_sorted_doubly_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/print_elements_of_linked_list_in_reverse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/print_elements_of_linked_list_in_reverse.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/print_the_elements_of_a_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/print_the_elements_of_a_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/reverse_a_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/reverse_a_linked_list.py -------------------------------------------------------------------------------- /DataStructures/LinkedLists/reverse_doubly_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/LinkedLists/reverse_doubly_linked_list.py -------------------------------------------------------------------------------- /DataStructures/Trees/height_of_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Trees/height_of_binary_tree.py -------------------------------------------------------------------------------- /DataStructures/Trees/inorder_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Trees/inorder_traversal.py -------------------------------------------------------------------------------- /DataStructures/Trees/postorder_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Trees/postorder_traversal.py -------------------------------------------------------------------------------- /DataStructures/Trees/preorder_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Trees/preorder_traversal.py -------------------------------------------------------------------------------- /DataStructures/Trees/tree_top_view.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DataStructures/Trees/tree_top_view.cpp -------------------------------------------------------------------------------- /DynamicProgramming/candies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DynamicProgramming/candies.py -------------------------------------------------------------------------------- /DynamicProgramming/fibonacci_modified.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DynamicProgramming/fibonacci_modified.py -------------------------------------------------------------------------------- /DynamicProgramming/maxsubarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DynamicProgramming/maxsubarray.py -------------------------------------------------------------------------------- /DynamicProgramming/mr_k_marsh.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/DynamicProgramming/mr_k_marsh.cpp -------------------------------------------------------------------------------- /GraphTheory/bfsshortreach.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/GraphTheory/bfsshortreach.cpp -------------------------------------------------------------------------------- /GraphTheory/dijkstrashortreach.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/GraphTheory/dijkstrashortreach.cpp -------------------------------------------------------------------------------- /GraphTheory/jack_goes_to_rapture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/GraphTheory/jack_goes_to_rapture.cpp -------------------------------------------------------------------------------- /GraphTheory/journey_to_the_moon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/GraphTheory/journey_to_the_moon.cpp -------------------------------------------------------------------------------- /GraphTheory/primsmstsub.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/GraphTheory/primsmstsub.cpp -------------------------------------------------------------------------------- /GraphTheory/subset_component.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/GraphTheory/subset_component.py -------------------------------------------------------------------------------- /Greedy/flowers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Greedy/flowers.py -------------------------------------------------------------------------------- /Greedy/reverse_shuffle_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Greedy/reverse_shuffle_merge.py -------------------------------------------------------------------------------- /Implementation/apple_and_orange.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/apple_and_orange.py -------------------------------------------------------------------------------- /Implementation/between_two_sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/between_two_sets.py -------------------------------------------------------------------------------- /Implementation/bon_appetit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/bon_appetit.py -------------------------------------------------------------------------------- /Implementation/breaking_best_and_worst_records.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/breaking_best_and_worst_records.py -------------------------------------------------------------------------------- /Implementation/divisible_sum_pairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/divisible_sum_pairs.py -------------------------------------------------------------------------------- /Implementation/drawing_book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/drawing_book.py -------------------------------------------------------------------------------- /Implementation/encryption.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/encryption.cpp -------------------------------------------------------------------------------- /Implementation/find_digits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/find_digits.cpp -------------------------------------------------------------------------------- /Implementation/grading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/grading.py -------------------------------------------------------------------------------- /Implementation/kangaroo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/kangaroo.py -------------------------------------------------------------------------------- /Implementation/matrix_rotation_algo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/matrix_rotation_algo.cpp -------------------------------------------------------------------------------- /Implementation/migratory_birds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/migratory_birds.py -------------------------------------------------------------------------------- /Implementation/sock_merchant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/sock_merchant.py -------------------------------------------------------------------------------- /Implementation/the_birthday_bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/the_birthday_bar.py -------------------------------------------------------------------------------- /Implementation/the_grid_search.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Implementation/the_grid_search.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/README.md -------------------------------------------------------------------------------- /Search/icecream_parlor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Search/icecream_parlor.py -------------------------------------------------------------------------------- /Search/sherlock_and_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Search/sherlock_and_array.py -------------------------------------------------------------------------------- /Strings/common_child.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Strings/common_child.cpp -------------------------------------------------------------------------------- /Strings/hackerrank_in_a_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Strings/hackerrank_in_a_string.py -------------------------------------------------------------------------------- /Strings/morgan_and_a_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Strings/morgan_and_a_string.py -------------------------------------------------------------------------------- /Strings/pangrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Strings/pangrams.cpp -------------------------------------------------------------------------------- /Strings/reverse_shuffle_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Strings/reverse_shuffle_merge.py -------------------------------------------------------------------------------- /Strings/sherlock_and_anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Strings/sherlock_and_anagrams.cpp -------------------------------------------------------------------------------- /Warmup/birthday_cake_candles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/birthday_cake_candles.py -------------------------------------------------------------------------------- /Warmup/compare_triplets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/compare_triplets.py -------------------------------------------------------------------------------- /Warmup/diagonal_difference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/diagonal_difference.py -------------------------------------------------------------------------------- /Warmup/mini_max_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/mini_max_sum.py -------------------------------------------------------------------------------- /Warmup/plus_minus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/plus_minus.py -------------------------------------------------------------------------------- /Warmup/simple_array_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/simple_array_sum.py -------------------------------------------------------------------------------- /Warmup/solve_me_first.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/solve_me_first.py -------------------------------------------------------------------------------- /Warmup/staircase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/staircase.py -------------------------------------------------------------------------------- /Warmup/time_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/time_conversion.py -------------------------------------------------------------------------------- /Warmup/very_big_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/Warmup/very_big_sum.py -------------------------------------------------------------------------------- /between_two_sets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/between_two_sets.py -------------------------------------------------------------------------------- /electronics_shop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/electronics_shop.py -------------------------------------------------------------------------------- /jessie_loves_candy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/jessie_loves_candy.py -------------------------------------------------------------------------------- /minimum_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/minimum_loss.py -------------------------------------------------------------------------------- /the_hurdle_race.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chakshuahuja/hackerrank-solutions/HEAD/the_hurdle_race.py --------------------------------------------------------------------------------