On Efficient Sketching Algorithms