Skip to content

Commit

Permalink
Remove duplicate implementation of median of two arrays algorithm (Th…
Browse files Browse the repository at this point in the history
…eAlgorithms#11420)

* Remove duplicate implementation of median of two arrays algorithm

Remove maths/median_of_two_arrays.py because the repo has two
implementations of this algorithm, with
data_structures/arrays/median_two_array.py being the other. Even though
maths/median_of_two_arrays.py is the older implementation, the newer
implementation is better documented, has better error handling, and is
already located in a more appropriate directory.

* updating DIRECTORY.md

---------

Co-authored-by: tianyizheng02 <[email protected]>
  • Loading branch information
tianyizheng02 and tianyizheng02 authored Jun 1, 2024
1 parent 70bd06d commit 723cf9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
1 change: 0 additions & 1 deletion DIRECTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@
* [Manhattan Distance](maths/manhattan_distance.py)
* [Matrix Exponentiation](maths/matrix_exponentiation.py)
* [Max Sum Sliding Window](maths/max_sum_sliding_window.py)
* [Median Of Two Arrays](maths/median_of_two_arrays.py)
* [Minkowski Distance](maths/minkowski_distance.py)
* [Mobius Function](maths/mobius_function.py)
* [Modular Division](maths/modular_division.py)
Expand Down
33 changes: 0 additions & 33 deletions maths/median_of_two_arrays.py

This file was deleted.

0 comments on commit 723cf9c

Please sign in to comment.