Sublinear Algorithms for Big Data Applications