Skip to content

Segment tree

A generic segment tree C++ header-only library.

How to build

  1. git clone git@github.com:manavrion/segment_tree.git
  2. ./build.sh

Clang compiler

  1. sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
  2. update-alternatives –install /usr/bin/clang clang /usr/bin/clang-10 10
  3. update-alternatives –install /usr/bin/clang++ clang++ /usr/bin/clang++-10 10

How to test

  1. ./test.sh