Sublinear Time Algorithms for Graph Problems