Efficient Main Memory Algorithms For Significant Interval And Frequent Episode Discovery