diff --git a/examples/tree/unnamed.dot b/examples/tree/unnamed.dot index 7e55eafb..3dc38728 100644 --- a/examples/tree/unnamed.dot +++ b/examples/tree/unnamed.dot @@ -1,8 +1,5 @@ digraph Tree { -"11"->"6" -"6"->"4,hell" -"6"->"2,o " -"11"->"5" -"5"->"3,wor" -"5"->"2,ld" +5->-5 +-5->2 +5->10 } diff --git a/src/algorithms/rmq/rmq_segment_tree.h b/src/algorithms/rmq/rmq_sparse_table.h similarity index 100% rename from src/algorithms/rmq/rmq_segment_tree.h rename to src/algorithms/rmq/rmq_sparse_table.h diff --git a/tests/algorithms/rmq/rmq_segment_tree.cc b/tests/algorithms/rmq/rmq_sparse_table.cc similarity index 89% rename from tests/algorithms/rmq/rmq_segment_tree.cc rename to tests/algorithms/rmq/rmq_sparse_table.cc index 05ead287..4bc846ca 100644 --- a/tests/algorithms/rmq/rmq_segment_tree.cc +++ b/tests/algorithms/rmq/rmq_sparse_table.cc @@ -1,4 +1,4 @@ -#include "../../../src/algorithms/rmq/rmq_segment_tree.h" +#include "../../../src/algorithms/rmq/rmq_sparse_table.h" #include "../../../third_party/catch.hpp" TEST_CASE("Testing rmq 1") {