Added Optimal Merge Pattern Algorithm (#5274)
Added Optimal Merge Pattern Algorithm (#5274)

* Minor changes due to precommit

* Update optimal_merge_pattern.py

Co-authored-by: Christian Clauss <585dd401264c1e46d17ebec1862e5d2a9b6a6c5d@me.com>
TheAlgorithms/Python