Fixed range sum without loop :D

1. https://www.geeksforgeeks.org/numeric-header-in-c-stl-set-1-accumulate-and-partial_sum/
2. https://codeforces.com/contest/1197/problem/C

Time complexity-O(n*k)

Comments

Popular posts from this blog

C++ STL practice problem link

Binary Index Tree(BIT)

Combinatorics