Given text *T* and pattern *P* (both lowercase), find all starting indices where *P* occurs in *T*. (Use rolling hash).
Two lines: text T, then pattern P.
Space-separated starting indices (0-based).
Example 1:
Input:
text = "geeksforgeeks" pattern = "geeks"
Output:
0 8
Explanation:
Pattern "geeks" starts at indices 0 and 8.