Real Interview Questions

Captured live from 391+ real technical interviews. Updated daily.

🎤 Questions auto-captured by Assisting AI during live interviews

Clear
12 questions found Topic: Algorithm

Write a Python program to return an array of the starting indices of all concatenated substrings in the given string. Input: string = '123456876456123987', words = ['123','456']. Output: [0,9]. Explanation: The substring starting at 0 is '123456'. It is the concatenation of ['123','456'] which is a permutation of words. The substring starting at 9 is '456123'. It is the concatenation of ['456','123'] which is a permutation of words.

String Substring Algorithm
🟡 Medium Coding Junior Asked 1× May 2026

Want these questions in real-time during your interview?

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers — invisible to screen sharing.

Get Assisting AI — Starts at ₹500