Binary lifting Count non decreasing subarrays after k operations Maximize value of function in a ball passing game Minimum edge weight equilibrium queries in a tree Prison cells after n days