diff --git a/algorithm_theory/tests/__init__.py b/tests/__init__.py similarity index 100% rename from algorithm_theory/tests/__init__.py rename to tests/__init__.py diff --git a/arrays/tests/__init__.py b/tests/algorithm_theory/__init__.py similarity index 100% rename from arrays/tests/__init__.py rename to tests/algorithm_theory/__init__.py diff --git a/algorithm_theory/tests/test_binary_search.py b/tests/algorithm_theory/test_binary_search.py similarity index 100% rename from algorithm_theory/tests/test_binary_search.py rename to tests/algorithm_theory/test_binary_search.py diff --git a/algorithm_theory/tests/test_bubble_sort.py b/tests/algorithm_theory/test_bubble_sort.py similarity index 100% rename from algorithm_theory/tests/test_bubble_sort.py rename to tests/algorithm_theory/test_bubble_sort.py diff --git a/algorithm_theory/tests/test_jump_search.py b/tests/algorithm_theory/test_jump_search.py similarity index 100% rename from algorithm_theory/tests/test_jump_search.py rename to tests/algorithm_theory/test_jump_search.py diff --git a/algorithm_theory/tests/test_linear_search.py b/tests/algorithm_theory/test_linear_search.py similarity index 100% rename from algorithm_theory/tests/test_linear_search.py rename to tests/algorithm_theory/test_linear_search.py diff --git a/binary_tree/tests/__init__.py b/tests/arrays/__init__.py similarity index 100% rename from binary_tree/tests/__init__.py rename to tests/arrays/__init__.py diff --git a/arrays/tests/test_check_double.py b/tests/arrays/test_check_double.py similarity index 100% rename from arrays/tests/test_check_double.py rename to tests/arrays/test_check_double.py diff --git a/arrays/tests/test_container_with_max_area.py b/tests/arrays/test_container_with_max_area.py similarity index 100% rename from arrays/tests/test_container_with_max_area.py rename to tests/arrays/test_container_with_max_area.py diff --git a/arrays/tests/test_count_elements.py b/tests/arrays/test_count_elements.py similarity index 100% rename from arrays/tests/test_count_elements.py rename to tests/arrays/test_count_elements.py diff --git a/arrays/tests/test_duplicate_zeros.py b/tests/arrays/test_duplicate_zeros.py similarity index 100% rename from arrays/tests/test_duplicate_zeros.py rename to tests/arrays/test_duplicate_zeros.py diff --git a/arrays/tests/test_find_disappeared_numbers.py b/tests/arrays/test_find_disappeared_numbers.py similarity index 100% rename from arrays/tests/test_find_disappeared_numbers.py rename to tests/arrays/test_find_disappeared_numbers.py diff --git a/arrays/tests/test_find_index_largest_number.py b/tests/arrays/test_find_index_largest_number.py similarity index 100% rename from arrays/tests/test_find_index_largest_number.py rename to tests/arrays/test_find_index_largest_number.py diff --git a/arrays/tests/test_find_max_consecutive_ones.py b/tests/arrays/test_find_max_consecutive_ones.py similarity index 100% rename from arrays/tests/test_find_max_consecutive_ones.py rename to tests/arrays/test_find_max_consecutive_ones.py diff --git a/arrays/tests/test_find_max_consecutive_ones_with_flip.py b/tests/arrays/test_find_max_consecutive_ones_with_flip.py similarity index 100% rename from arrays/tests/test_find_max_consecutive_ones_with_flip.py rename to tests/arrays/test_find_max_consecutive_ones_with_flip.py diff --git a/arrays/tests/test_find_pivot_index.py b/tests/arrays/test_find_pivot_index.py similarity index 100% rename from arrays/tests/test_find_pivot_index.py rename to tests/arrays/test_find_pivot_index.py diff --git a/arrays/tests/test_find_smallest_positive_integer.py b/tests/arrays/test_find_smallest_positive_integer.py similarity index 100% rename from arrays/tests/test_find_smallest_positive_integer.py rename to tests/arrays/test_find_smallest_positive_integer.py diff --git a/arrays/tests/test_first_duplicate.py b/tests/arrays/test_first_duplicate.py similarity index 100% rename from arrays/tests/test_first_duplicate.py rename to tests/arrays/test_first_duplicate.py diff --git a/arrays/tests/test_first_not_repeating_character.py b/tests/arrays/test_first_not_repeating_character.py similarity index 100% rename from arrays/tests/test_first_not_repeating_character.py rename to tests/arrays/test_first_not_repeating_character.py diff --git a/arrays/tests/test_intersection_of_two_arrays_ii.py b/tests/arrays/test_intersection_of_two_arrays_ii.py similarity index 100% rename from arrays/tests/test_intersection_of_two_arrays_ii.py rename to tests/arrays/test_intersection_of_two_arrays_ii.py diff --git a/arrays/tests/test_intersection_three_arrays.py b/tests/arrays/test_intersection_three_arrays.py similarity index 100% rename from arrays/tests/test_intersection_three_arrays.py rename to tests/arrays/test_intersection_three_arrays.py diff --git a/arrays/tests/test_largest_number_twice_of_others.py b/tests/arrays/test_largest_number_twice_of_others.py similarity index 100% rename from arrays/tests/test_largest_number_twice_of_others.py rename to tests/arrays/test_largest_number_twice_of_others.py diff --git a/arrays/tests/test_make_array_consecutive.py b/tests/arrays/test_make_array_consecutive.py similarity index 100% rename from arrays/tests/test_make_array_consecutive.py rename to tests/arrays/test_make_array_consecutive.py diff --git a/arrays/tests/test_max_consecutive_ones.py b/tests/arrays/test_max_consecutive_ones.py similarity index 100% rename from arrays/tests/test_max_consecutive_ones.py rename to tests/arrays/test_max_consecutive_ones.py diff --git a/arrays/tests/test_max_subarray.py b/tests/arrays/test_max_subarray.py similarity index 100% rename from arrays/tests/test_max_subarray.py rename to tests/arrays/test_max_subarray.py diff --git a/arrays/tests/test_merge_sorted_array.py b/tests/arrays/test_merge_sorted_array.py similarity index 100% rename from arrays/tests/test_merge_sorted_array.py rename to tests/arrays/test_merge_sorted_array.py diff --git a/arrays/tests/test_minimum_subarray_length.py b/tests/arrays/test_minimum_subarray_length.py similarity index 100% rename from arrays/tests/test_minimum_subarray_length.py rename to tests/arrays/test_minimum_subarray_length.py diff --git a/arrays/tests/test_missing_number.py b/tests/arrays/test_missing_number.py similarity index 100% rename from arrays/tests/test_missing_number.py rename to tests/arrays/test_missing_number.py diff --git a/arrays/tests/test_move_zeros.py b/tests/arrays/test_move_zeros.py similarity index 100% rename from arrays/tests/test_move_zeros.py rename to tests/arrays/test_move_zeros.py diff --git a/arrays/tests/test_pascals_triangle_ii.py b/tests/arrays/test_pascals_triangle_ii.py similarity index 100% rename from arrays/tests/test_pascals_triangle_ii.py rename to tests/arrays/test_pascals_triangle_ii.py diff --git a/arrays/tests/test_peaks.py b/tests/arrays/test_peaks.py similarity index 100% rename from arrays/tests/test_peaks.py rename to tests/arrays/test_peaks.py diff --git a/arrays/tests/test_plus_one.py b/tests/arrays/test_plus_one.py similarity index 100% rename from arrays/tests/test_plus_one.py rename to tests/arrays/test_plus_one.py diff --git a/arrays/tests/test_remove_duplicates.py b/tests/arrays/test_remove_duplicates.py similarity index 100% rename from arrays/tests/test_remove_duplicates.py rename to tests/arrays/test_remove_duplicates.py diff --git a/arrays/tests/test_remove_element.py b/tests/arrays/test_remove_element.py similarity index 100% rename from arrays/tests/test_remove_element.py rename to tests/arrays/test_remove_element.py diff --git a/arrays/tests/test_replace_elements_with_greatest.py b/tests/arrays/test_replace_elements_with_greatest.py similarity index 100% rename from arrays/tests/test_replace_elements_with_greatest.py rename to tests/arrays/test_replace_elements_with_greatest.py diff --git a/arrays/tests/test_rotate_array.py b/tests/arrays/test_rotate_array.py similarity index 100% rename from arrays/tests/test_rotate_array.py rename to tests/arrays/test_rotate_array.py diff --git a/arrays/tests/test_single_number.py b/tests/arrays/test_single_number.py similarity index 100% rename from arrays/tests/test_single_number.py rename to tests/arrays/test_single_number.py diff --git a/arrays/tests/test_sort_by_parity.py b/tests/arrays/test_sort_by_parity.py similarity index 100% rename from arrays/tests/test_sort_by_parity.py rename to tests/arrays/test_sort_by_parity.py diff --git a/arrays/tests/test_sorted_squares.py b/tests/arrays/test_sorted_squares.py similarity index 100% rename from arrays/tests/test_sorted_squares.py rename to tests/arrays/test_sorted_squares.py diff --git a/arrays/tests/test_third_max.py b/tests/arrays/test_third_max.py similarity index 100% rename from arrays/tests/test_third_max.py rename to tests/arrays/test_third_max.py diff --git a/arrays/tests/test_two_sum.py b/tests/arrays/test_two_sum.py similarity index 100% rename from arrays/tests/test_two_sum.py rename to tests/arrays/test_two_sum.py diff --git a/arrays/tests/test_two_sum_ii.py b/tests/arrays/test_two_sum_ii.py similarity index 100% rename from arrays/tests/test_two_sum_ii.py rename to tests/arrays/test_two_sum_ii.py diff --git a/arrays/tests/test_valid_mountain_array.py b/tests/arrays/test_valid_mountain_array.py similarity index 100% rename from arrays/tests/test_valid_mountain_array.py rename to tests/arrays/test_valid_mountain_array.py diff --git a/n_ary_tree/tests/__init__.py b/tests/binary_search/__init__.py similarity index 100% rename from n_ary_tree/tests/__init__.py rename to tests/binary_search/__init__.py diff --git a/binary_search/tests/test_search_insert_position.py b/tests/binary_search/test_search_insert_position.py similarity index 100% rename from binary_search/tests/test_search_insert_position.py rename to tests/binary_search/test_search_insert_position.py diff --git a/stacks/tests/__init__.py b/tests/binary_tree/__init__.py similarity index 100% rename from stacks/tests/__init__.py rename to tests/binary_tree/__init__.py diff --git a/binary_tree/tests/test_binary_tree_path.py b/tests/binary_tree/test_binary_tree_path.py similarity index 100% rename from binary_tree/tests/test_binary_tree_path.py rename to tests/binary_tree/test_binary_tree_path.py diff --git a/binary_tree/tests/test_even_odd_tree.py b/tests/binary_tree/test_even_odd_tree.py similarity index 100% rename from binary_tree/tests/test_even_odd_tree.py rename to tests/binary_tree/test_even_odd_tree.py diff --git a/binary_tree/tests/test_find_mode.py b/tests/binary_tree/test_find_mode.py similarity index 100% rename from binary_tree/tests/test_find_mode.py rename to tests/binary_tree/test_find_mode.py diff --git a/binary_tree/tests/test_has_path_sum.py b/tests/binary_tree/test_has_path_sum.py similarity index 100% rename from binary_tree/tests/test_has_path_sum.py rename to tests/binary_tree/test_has_path_sum.py diff --git a/binary_tree/tests/test_inorder_traversal.py b/tests/binary_tree/test_inorder_traversal.py similarity index 100% rename from binary_tree/tests/test_inorder_traversal.py rename to tests/binary_tree/test_inorder_traversal.py diff --git a/binary_tree/tests/test_level_order_traversal.py b/tests/binary_tree/test_level_order_traversal.py similarity index 100% rename from binary_tree/tests/test_level_order_traversal.py rename to tests/binary_tree/test_level_order_traversal.py diff --git a/binary_tree/tests/test_max_depth.py b/tests/binary_tree/test_max_depth.py similarity index 100% rename from binary_tree/tests/test_max_depth.py rename to tests/binary_tree/test_max_depth.py diff --git a/binary_tree/tests/test_min_depth.py b/tests/binary_tree/test_min_depth.py similarity index 100% rename from binary_tree/tests/test_min_depth.py rename to tests/binary_tree/test_min_depth.py diff --git a/binary_tree/tests/test_next_right_pointer.py b/tests/binary_tree/test_next_right_pointer.py similarity index 100% rename from binary_tree/tests/test_next_right_pointer.py rename to tests/binary_tree/test_next_right_pointer.py diff --git a/binary_tree/tests/test_postorder_traversal.py b/tests/binary_tree/test_postorder_traversal.py similarity index 100% rename from binary_tree/tests/test_postorder_traversal.py rename to tests/binary_tree/test_postorder_traversal.py diff --git a/binary_tree/tests/test_pre_order_traversal.py b/tests/binary_tree/test_pre_order_traversal.py similarity index 100% rename from binary_tree/tests/test_pre_order_traversal.py rename to tests/binary_tree/test_pre_order_traversal.py diff --git a/binary_tree/tests/test_symmetric_binary_tree.py b/tests/binary_tree/test_symmetric_binary_tree.py similarity index 100% rename from binary_tree/tests/test_symmetric_binary_tree.py rename to tests/binary_tree/test_symmetric_binary_tree.py diff --git a/binary_tree/tests/test_tree_from_inorder_postorder.py b/tests/binary_tree/test_tree_from_inorder_postorder.py similarity index 100% rename from binary_tree/tests/test_tree_from_inorder_postorder.py rename to tests/binary_tree/test_tree_from_inorder_postorder.py diff --git a/binary_tree/tests/test_tree_from_preorder_inorder.py b/tests/binary_tree/test_tree_from_preorder_inorder.py similarity index 100% rename from binary_tree/tests/test_tree_from_preorder_inorder.py rename to tests/binary_tree/test_tree_from_preorder_inorder.py diff --git a/binary_tree/tests/test_two_sum_iv.py b/tests/binary_tree/test_two_sum_iv.py similarity index 100% rename from binary_tree/tests/test_two_sum_iv.py rename to tests/binary_tree/test_two_sum_iv.py diff --git a/binary_tree/tests/test_valid_binary_search_tree.py b/tests/binary_tree/test_valid_binary_search_tree.py similarity index 100% rename from binary_tree/tests/test_valid_binary_search_tree.py rename to tests/binary_tree/test_valid_binary_search_tree.py diff --git a/tests/circularly_linked_list/__init__.py b/tests/circularly_linked_list/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/circularly_linked_list/tests/test_insert_cyclic_list.py b/tests/circularly_linked_list/test_insert_cyclic_list.py similarity index 100% rename from circularly_linked_list/tests/test_insert_cyclic_list.py rename to tests/circularly_linked_list/test_insert_cyclic_list.py diff --git a/tests/data_structures/__init__.py b/tests/data_structures/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/data_structures/tests/test_binary_tree.py b/tests/data_structures/test_binary_tree.py similarity index 100% rename from data_structures/tests/test_binary_tree.py rename to tests/data_structures/test_binary_tree.py diff --git a/data_structures/tests/test_binary_tree_node.py b/tests/data_structures/test_binary_tree_node.py similarity index 100% rename from data_structures/tests/test_binary_tree_node.py rename to tests/data_structures/test_binary_tree_node.py diff --git a/data_structures/tests/test_circularly_linked_list.py b/tests/data_structures/test_circularly_linked_list.py similarity index 100% rename from data_structures/tests/test_circularly_linked_list.py rename to tests/data_structures/test_circularly_linked_list.py diff --git a/data_structures/tests/test_doubly_linked_list.py b/tests/data_structures/test_doubly_linked_list.py similarity index 100% rename from data_structures/tests/test_doubly_linked_list.py rename to tests/data_structures/test_doubly_linked_list.py diff --git a/data_structures/tests/test_doubly_linked_list_node.py b/tests/data_structures/test_doubly_linked_list_node.py similarity index 100% rename from data_structures/tests/test_doubly_linked_list_node.py rename to tests/data_structures/test_doubly_linked_list_node.py diff --git a/data_structures/tests/test_queue.py b/tests/data_structures/test_queue.py similarity index 100% rename from data_structures/tests/test_queue.py rename to tests/data_structures/test_queue.py diff --git a/data_structures/tests/test_singly_linked_list.py b/tests/data_structures/test_singly_linked_list.py similarity index 100% rename from data_structures/tests/test_singly_linked_list.py rename to tests/data_structures/test_singly_linked_list.py diff --git a/data_structures/tests/test_singly_linked_list_node.py b/tests/data_structures/test_singly_linked_list_node.py similarity index 100% rename from data_structures/tests/test_singly_linked_list_node.py rename to tests/data_structures/test_singly_linked_list_node.py diff --git a/data_structures/tests/test_stack.py b/tests/data_structures/test_stack.py similarity index 100% rename from data_structures/tests/test_stack.py rename to tests/data_structures/test_stack.py diff --git a/data_structures/tests/test_trie_with_array.py b/tests/data_structures/test_trie_with_array.py similarity index 100% rename from data_structures/tests/test_trie_with_array.py rename to tests/data_structures/test_trie_with_array.py diff --git a/data_structures/tests/test_trie_with_dictionary.py b/tests/data_structures/test_trie_with_dictionary.py similarity index 100% rename from data_structures/tests/test_trie_with_dictionary.py rename to tests/data_structures/test_trie_with_dictionary.py diff --git a/data_structures/tests/test_trie_with_flat_dictionary.py b/tests/data_structures/test_trie_with_flat_dictionary.py similarity index 100% rename from data_structures/tests/test_trie_with_flat_dictionary.py rename to tests/data_structures/test_trie_with_flat_dictionary.py diff --git a/tests/doubly_linked_list/__init__.py b/tests/doubly_linked_list/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/doubly_linked_list/tests/test_flatten_doubly_linked_lists.py b/tests/doubly_linked_list/test_flatten_doubly_linked_lists.py similarity index 100% rename from doubly_linked_list/tests/test_flatten_doubly_linked_lists.py rename to tests/doubly_linked_list/test_flatten_doubly_linked_lists.py diff --git a/tests/integers/__init__.py b/tests/integers/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/integers/tests/test_fibonacci.py b/tests/integers/test_fibonacci.py similarity index 100% rename from integers/tests/test_fibonacci.py rename to tests/integers/test_fibonacci.py diff --git a/integers/tests/test_palindrome_number.py b/tests/integers/test_palindrome_number.py similarity index 100% rename from integers/tests/test_palindrome_number.py rename to tests/integers/test_palindrome_number.py diff --git a/integers/tests/test_reverse_number.py b/tests/integers/test_reverse_number.py similarity index 100% rename from integers/tests/test_reverse_number.py rename to tests/integers/test_reverse_number.py diff --git a/tests/math_problems/__init__.py b/tests/math_problems/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/math_problems/tests/test_count_primes.py b/tests/math_problems/test_count_primes.py similarity index 100% rename from math_problems/tests/test_count_primes.py rename to tests/math_problems/test_count_primes.py diff --git a/math_problems/tests/test_fizz_buzz.py b/tests/math_problems/test_fizz_buzz.py similarity index 100% rename from math_problems/tests/test_fizz_buzz.py rename to tests/math_problems/test_fizz_buzz.py diff --git a/math_problems/tests/test_leap_year.py b/tests/math_problems/test_leap_year.py similarity index 100% rename from math_problems/tests/test_leap_year.py rename to tests/math_problems/test_leap_year.py diff --git a/math_problems/tests/test_power_of_three.py b/tests/math_problems/test_power_of_three.py similarity index 100% rename from math_problems/tests/test_power_of_three.py rename to tests/math_problems/test_power_of_three.py diff --git a/tests/multi_dimensional_arrays/__init__.py b/tests/multi_dimensional_arrays/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/multi_dimensional_arrays/tests/test_diagonal_traverse.py b/tests/multi_dimensional_arrays/test_diagonal_traverse.py similarity index 100% rename from multi_dimensional_arrays/tests/test_diagonal_traverse.py rename to tests/multi_dimensional_arrays/test_diagonal_traverse.py diff --git a/multi_dimensional_arrays/tests/test_pascals_triangle.py b/tests/multi_dimensional_arrays/test_pascals_triangle.py similarity index 100% rename from multi_dimensional_arrays/tests/test_pascals_triangle.py rename to tests/multi_dimensional_arrays/test_pascals_triangle.py diff --git a/multi_dimensional_arrays/tests/test_rotate_image.py b/tests/multi_dimensional_arrays/test_rotate_image.py similarity index 100% rename from multi_dimensional_arrays/tests/test_rotate_image.py rename to tests/multi_dimensional_arrays/test_rotate_image.py diff --git a/multi_dimensional_arrays/tests/test_spiral_matrix.py b/tests/multi_dimensional_arrays/test_spiral_matrix.py similarity index 100% rename from multi_dimensional_arrays/tests/test_spiral_matrix.py rename to tests/multi_dimensional_arrays/test_spiral_matrix.py diff --git a/tests/n_ary_tree/__init__.py b/tests/n_ary_tree/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/n_ary_tree/tests/test_encode_decode_tree.py b/tests/n_ary_tree/test_encode_decode_tree.py similarity index 100% rename from n_ary_tree/tests/test_encode_decode_tree.py rename to tests/n_ary_tree/test_encode_decode_tree.py diff --git a/n_ary_tree/tests/test_level_order_traversal.py b/tests/n_ary_tree/test_level_order_traversal.py similarity index 100% rename from n_ary_tree/tests/test_level_order_traversal.py rename to tests/n_ary_tree/test_level_order_traversal.py diff --git a/n_ary_tree/tests/test_max_depth.py b/tests/n_ary_tree/test_max_depth.py similarity index 100% rename from n_ary_tree/tests/test_max_depth.py rename to tests/n_ary_tree/test_max_depth.py diff --git a/n_ary_tree/tests/test_nary_tree_node.py b/tests/n_ary_tree/test_nary_tree_node.py similarity index 100% rename from n_ary_tree/tests/test_nary_tree_node.py rename to tests/n_ary_tree/test_nary_tree_node.py diff --git a/n_ary_tree/tests/test_postorder_traversal.py b/tests/n_ary_tree/test_postorder_traversal.py similarity index 100% rename from n_ary_tree/tests/test_postorder_traversal.py rename to tests/n_ary_tree/test_postorder_traversal.py diff --git a/n_ary_tree/tests/test_postorder_traversal_iterative.py b/tests/n_ary_tree/test_postorder_traversal_iterative.py similarity index 100% rename from n_ary_tree/tests/test_postorder_traversal_iterative.py rename to tests/n_ary_tree/test_postorder_traversal_iterative.py diff --git a/n_ary_tree/tests/test_preorder_traversal.py b/tests/n_ary_tree/test_preorder_traversal.py similarity index 100% rename from n_ary_tree/tests/test_preorder_traversal.py rename to tests/n_ary_tree/test_preorder_traversal.py diff --git a/n_ary_tree/tests/test_preorder_traversal_iterative.py b/tests/n_ary_tree/test_preorder_traversal_iterative.py similarity index 100% rename from n_ary_tree/tests/test_preorder_traversal_iterative.py rename to tests/n_ary_tree/test_preorder_traversal_iterative.py diff --git a/tests/queues/__init__.py b/tests/queues/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/queues/tests/test_moving_average.py b/tests/queues/test_moving_average.py similarity index 100% rename from queues/tests/test_moving_average.py rename to tests/queues/test_moving_average.py diff --git a/queues/tests/test_queue_with_stack.py b/tests/queues/test_queue_with_stack.py similarity index 100% rename from queues/tests/test_queue_with_stack.py rename to tests/queues/test_queue_with_stack.py diff --git a/queues/tests/test_walls_and_gates.py b/tests/queues/test_walls_and_gates.py similarity index 100% rename from queues/tests/test_walls_and_gates.py rename to tests/queues/test_walls_and_gates.py diff --git a/tests/singly_linked_lists/__init__.py b/tests/singly_linked_lists/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/singly_linked_lists/tests/test_add_two_numbers.py b/tests/singly_linked_lists/test_add_two_numbers.py similarity index 100% rename from singly_linked_lists/tests/test_add_two_numbers.py rename to tests/singly_linked_lists/test_add_two_numbers.py diff --git a/singly_linked_lists/tests/test_copy_list_with_random_pointer.py b/tests/singly_linked_lists/test_copy_list_with_random_pointer.py similarity index 100% rename from singly_linked_lists/tests/test_copy_list_with_random_pointer.py rename to tests/singly_linked_lists/test_copy_list_with_random_pointer.py diff --git a/singly_linked_lists/tests/test_delete_duplicates.py b/tests/singly_linked_lists/test_delete_duplicates.py similarity index 100% rename from singly_linked_lists/tests/test_delete_duplicates.py rename to tests/singly_linked_lists/test_delete_duplicates.py diff --git a/singly_linked_lists/tests/test_detect_cycle.py b/tests/singly_linked_lists/test_detect_cycle.py similarity index 100% rename from singly_linked_lists/tests/test_detect_cycle.py rename to tests/singly_linked_lists/test_detect_cycle.py diff --git a/singly_linked_lists/tests/test_find_middle_node.py b/tests/singly_linked_lists/test_find_middle_node.py similarity index 100% rename from singly_linked_lists/tests/test_find_middle_node.py rename to tests/singly_linked_lists/test_find_middle_node.py diff --git a/singly_linked_lists/tests/test_intersection_two_linked_lists.py b/tests/singly_linked_lists/test_intersection_two_linked_lists.py similarity index 100% rename from singly_linked_lists/tests/test_intersection_two_linked_lists.py rename to tests/singly_linked_lists/test_intersection_two_linked_lists.py diff --git a/singly_linked_lists/tests/test_intersection_two_linked_lists_with_set.py b/tests/singly_linked_lists/test_intersection_two_linked_lists_with_set.py similarity index 100% rename from singly_linked_lists/tests/test_intersection_two_linked_lists_with_set.py rename to tests/singly_linked_lists/test_intersection_two_linked_lists_with_set.py diff --git a/singly_linked_lists/tests/test_linked_list_cycle.py b/tests/singly_linked_lists/test_linked_list_cycle.py similarity index 100% rename from singly_linked_lists/tests/test_linked_list_cycle.py rename to tests/singly_linked_lists/test_linked_list_cycle.py diff --git a/singly_linked_lists/tests/test_merge_k_lists.py b/tests/singly_linked_lists/test_merge_k_lists.py similarity index 100% rename from singly_linked_lists/tests/test_merge_k_lists.py rename to tests/singly_linked_lists/test_merge_k_lists.py diff --git a/singly_linked_lists/tests/test_merge_two_sorted_lists.py b/tests/singly_linked_lists/test_merge_two_sorted_lists.py similarity index 100% rename from singly_linked_lists/tests/test_merge_two_sorted_lists.py rename to tests/singly_linked_lists/test_merge_two_sorted_lists.py diff --git a/singly_linked_lists/tests/test_odd_even_linked_list.py b/tests/singly_linked_lists/test_odd_even_linked_list.py similarity index 100% rename from singly_linked_lists/tests/test_odd_even_linked_list.py rename to tests/singly_linked_lists/test_odd_even_linked_list.py diff --git a/singly_linked_lists/tests/test_palindrome_linked_list.py b/tests/singly_linked_lists/test_palindrome_linked_list.py similarity index 100% rename from singly_linked_lists/tests/test_palindrome_linked_list.py rename to tests/singly_linked_lists/test_palindrome_linked_list.py diff --git a/singly_linked_lists/tests/test_remove_linked_list_elements.py b/tests/singly_linked_lists/test_remove_linked_list_elements.py similarity index 100% rename from singly_linked_lists/tests/test_remove_linked_list_elements.py rename to tests/singly_linked_lists/test_remove_linked_list_elements.py diff --git a/singly_linked_lists/tests/test_remove_nth_node_from_list.py b/tests/singly_linked_lists/test_remove_nth_node_from_list.py similarity index 100% rename from singly_linked_lists/tests/test_remove_nth_node_from_list.py rename to tests/singly_linked_lists/test_remove_nth_node_from_list.py diff --git a/singly_linked_lists/tests/test_reverse_linked_list.py b/tests/singly_linked_lists/test_reverse_linked_list.py similarity index 100% rename from singly_linked_lists/tests/test_reverse_linked_list.py rename to tests/singly_linked_lists/test_reverse_linked_list.py diff --git a/singly_linked_lists/tests/test_reverse_linked_list_recursive.py b/tests/singly_linked_lists/test_reverse_linked_list_recursive.py similarity index 100% rename from singly_linked_lists/tests/test_reverse_linked_list_recursive.py rename to tests/singly_linked_lists/test_reverse_linked_list_recursive.py diff --git a/singly_linked_lists/tests/test_rotate_list.py b/tests/singly_linked_lists/test_rotate_list.py similarity index 100% rename from singly_linked_lists/tests/test_rotate_list.py rename to tests/singly_linked_lists/test_rotate_list.py diff --git a/tests/stacks/__init__.py b/tests/stacks/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/stacks/tests/test_daily_temperatures.py b/tests/stacks/test_daily_temperatures.py similarity index 100% rename from stacks/tests/test_daily_temperatures.py rename to tests/stacks/test_daily_temperatures.py diff --git a/stacks/tests/test_decode_string.py b/tests/stacks/test_decode_string.py similarity index 100% rename from stacks/tests/test_decode_string.py rename to tests/stacks/test_decode_string.py diff --git a/stacks/tests/test_min_stack.py b/tests/stacks/test_min_stack.py similarity index 100% rename from stacks/tests/test_min_stack.py rename to tests/stacks/test_min_stack.py diff --git a/stacks/tests/test_polish_notation.py b/tests/stacks/test_polish_notation.py similarity index 100% rename from stacks/tests/test_polish_notation.py rename to tests/stacks/test_polish_notation.py diff --git a/stacks/tests/test_roman_to_integer.py b/tests/stacks/test_roman_to_integer.py similarity index 100% rename from stacks/tests/test_roman_to_integer.py rename to tests/stacks/test_roman_to_integer.py diff --git a/stacks/tests/test_stack_with_queue.py b/tests/stacks/test_stack_with_queue.py similarity index 100% rename from stacks/tests/test_stack_with_queue.py rename to tests/stacks/test_stack_with_queue.py diff --git a/stacks/tests/test_valid_parentheses.py b/tests/stacks/test_valid_parentheses.py similarity index 100% rename from stacks/tests/test_valid_parentheses.py rename to tests/stacks/test_valid_parentheses.py diff --git a/tests/strings/__init__.py b/tests/strings/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/strings/tests/palindrome_permutation.py b/tests/strings/palindrome_permutation.py similarity index 100% rename from strings/tests/palindrome_permutation.py rename to tests/strings/palindrome_permutation.py diff --git a/strings/tests/test_add_binary.py b/tests/strings/test_add_binary.py similarity index 100% rename from strings/tests/test_add_binary.py rename to tests/strings/test_add_binary.py diff --git a/strings/tests/test_anagram.py b/tests/strings/test_anagram.py similarity index 100% rename from strings/tests/test_anagram.py rename to tests/strings/test_anagram.py diff --git a/strings/tests/test_crop_string.py b/tests/strings/test_crop_string.py similarity index 100% rename from strings/tests/test_crop_string.py rename to tests/strings/test_crop_string.py diff --git a/strings/tests/test_first_unique_character_in_str.py b/tests/strings/test_first_unique_character_in_str.py similarity index 100% rename from strings/tests/test_first_unique_character_in_str.py rename to tests/strings/test_first_unique_character_in_str.py diff --git a/strings/tests/test_group_anagrams.py b/tests/strings/test_group_anagrams.py similarity index 100% rename from strings/tests/test_group_anagrams.py rename to tests/strings/test_group_anagrams.py diff --git a/strings/tests/test_implement_str_str.py b/tests/strings/test_implement_str_str.py similarity index 100% rename from strings/tests/test_implement_str_str.py rename to tests/strings/test_implement_str_str.py diff --git a/strings/tests/test_jewels_and_stones.py b/tests/strings/test_jewels_and_stones.py similarity index 100% rename from strings/tests/test_jewels_and_stones.py rename to tests/strings/test_jewels_and_stones.py diff --git a/strings/tests/test_license_key_formatter.py b/tests/strings/test_license_key_formatter.py similarity index 100% rename from strings/tests/test_license_key_formatter.py rename to tests/strings/test_license_key_formatter.py diff --git a/strings/tests/test_longest_common_prefix.py b/tests/strings/test_longest_common_prefix.py similarity index 100% rename from strings/tests/test_longest_common_prefix.py rename to tests/strings/test_longest_common_prefix.py diff --git a/strings/tests/test_longest_substring_without_duplicates.py b/tests/strings/test_longest_substring_without_duplicates.py similarity index 100% rename from strings/tests/test_longest_substring_without_duplicates.py rename to tests/strings/test_longest_substring_without_duplicates.py diff --git a/strings/tests/test_multiply_strings.py b/tests/strings/test_multiply_strings.py similarity index 100% rename from strings/tests/test_multiply_strings.py rename to tests/strings/test_multiply_strings.py diff --git a/strings/tests/test_palindrome.py b/tests/strings/test_palindrome.py similarity index 100% rename from strings/tests/test_palindrome.py rename to tests/strings/test_palindrome.py diff --git a/strings/tests/test_pangram.py b/tests/strings/test_pangram.py similarity index 100% rename from strings/tests/test_pangram.py rename to tests/strings/test_pangram.py diff --git a/strings/tests/test_reverse_string.py b/tests/strings/test_reverse_string.py similarity index 100% rename from strings/tests/test_reverse_string.py rename to tests/strings/test_reverse_string.py diff --git a/strings/tests/test_reverse_words.py b/tests/strings/test_reverse_words.py similarity index 100% rename from strings/tests/test_reverse_words.py rename to tests/strings/test_reverse_words.py diff --git a/strings/tests/test_reverse_words_ii.py b/tests/strings/test_reverse_words_ii.py similarity index 100% rename from strings/tests/test_reverse_words_ii.py rename to tests/strings/test_reverse_words_ii.py diff --git a/strings/tests/test_run_length_encoding.py b/tests/strings/test_run_length_encoding.py similarity index 100% rename from strings/tests/test_run_length_encoding.py rename to tests/strings/test_run_length_encoding.py diff --git a/strings/tests/test_string_to_integer.py b/tests/strings/test_string_to_integer.py similarity index 100% rename from strings/tests/test_string_to_integer.py rename to tests/strings/test_string_to_integer.py diff --git a/strings/tests/test_string_to_integer_ii.py b/tests/strings/test_string_to_integer_ii.py similarity index 100% rename from strings/tests/test_string_to_integer_ii.py rename to tests/strings/test_string_to_integer_ii.py diff --git a/strings/tests/test_unique_emails.py b/tests/strings/test_unique_emails.py similarity index 100% rename from strings/tests/test_unique_emails.py rename to tests/strings/test_unique_emails.py diff --git a/strings/tests/test_valid_word_abbreviation.py b/tests/strings/test_valid_word_abbreviation.py similarity index 100% rename from strings/tests/test_valid_word_abbreviation.py rename to tests/strings/test_valid_word_abbreviation.py diff --git a/tests/trie/__init__.py b/tests/trie/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/trie/tests/test_map_sum.py b/tests/trie/test_map_sum.py similarity index 100% rename from trie/tests/test_map_sum.py rename to tests/trie/test_map_sum.py diff --git a/trie/tests/test_replace_words.py b/tests/trie/test_replace_words.py similarity index 100% rename from trie/tests/test_replace_words.py rename to tests/trie/test_replace_words.py