Google Interview Question

1. Range queries 2. Finding unique paths from source to destination in a grid.