Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

MO's algorithm uses?

$
0
0

Can someone list some main things which can be done using MO's algorirhm like

1)Number of distinct elements in [l,r]

2)Sum of all elements in [l,r]

Can anyone suggest more like these?


Viewing all articles
Browse latest Browse all 39796