Skip to content

Conversation

@monkey0722
Copy link
Owner

This pull request introduces new implementations for data structures and algorithms, specifically a Segment Tree and Dijkstra's Algorithm, along with their respective unit tests. The most important changes include the addition of the SegmentTree class, the dijkstra function, and their corresponding tests.

New Implementations:

  • src/data_structure/segment_tree.hpp: Added the SegmentTree class with methods for building the tree, querying intervals, and updating elements.
  • src/graph/dijkstra.hpp: Added the dijkstra function to compute the shortest paths from a single source in a weighted graph using Dijkstra's Algorithm.

Unit Tests:

@monkey0722 monkey0722 self-assigned this Jan 3, 2025
@monkey0722 monkey0722 merged commit 179e45e into main Jan 3, 2025
1 check passed
@monkey0722 monkey0722 deleted the feature/algorithm-v5 branch January 3, 2025 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants