Efficient Algorithms For Mining Data Streams