Static Range Minimum Queries Cses Solution Graph