Naive Algorithm - 2 (All Occurrences)#8228