You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Samyak072
changed the title
Optimize and Test Optimal Binary Search Tree Implementation
Optimize and Test Optimal Binary Search Tree Implementation for optimal_binary_search_tree.py
Oct 3, 2024
Knuth’s optimization has been used for optimal_binary_search_tree.py here function has been ,applied with hardcoded intervals using root[i][j - 1] and root[i + 1][j]. and this is reducing the range of r, more extensive testing should be done to ensure correctness when the intervals are small or boundaries overlap. I want to fix this so that it works correctly, especially when the intervals are small or the boundaries overlap.
The current implementation of the optimal binary search tree algorithm works well, but there are a few areas for improvement and further testing.
The text was updated successfully, but these errors were encountered: