Special for Query search and update, work same as segment tree. Tutorial: https://www.youtube.com/watch?v=aAALKHLeexw Problem : https://toph.co/p/easy-prime https://toph.co/p/another-query-on-string https://toph.co/p/rivalry-friends (long long matters in return type)
1. Regular odd polygon total intersection point= https://math.stackexchange.com/questions/1010591/what-is-the-number-of-intersections-of-diagonals-in-a-convex-equilateral-polygon Problem: https://toph.co/p/irregular-is-tough-regular-is-easy 2. Given two side of a triangle, how many valid possible value of third side- 2*(min(a,b))-1 problem: https://toph.co/p/geometry-forever n ( n − 1 ) ( n − 2 ) ( n − 3 ) 24 n ( n − 1 ) ( n − 2 ) ( n − 3 ) 24
Comments
Post a Comment