Questions 201–217 of 217

  1. What is the time complexity of the interval merging algorithm?

    Asked once · last asked Nov 12 · Concept · Junior

    Other ways it was asked
    • “What is the time complexity of the sorting step when merging intervals?”
  2. What should a `count_even` function do when given an array?

    Asked once · last asked Nov 18 · Concept · Junior

    Other ways it was asked
    • “Why might you use a `count_even` function when creating an array of even elements?”
  3. How should an algorithm for finding the second-highest integer handle a list containing only one item?

    Asked once · last asked Oct 28 · Write code · Junior

  4. How would you find the second-highest value?

    Asked once · last asked Oct 31 · Write code · Junior

  5. How would you declare an array containing coin denominations?

    Asked once · last asked Nov 2 · Write code · Junior

  6. What are anagrams?

    Asked once · last asked Nov 4 · Concept · Junior

  7. How should a string-to-integer conversion function handle input-size limits?

    Asked once · last asked Nov 4 · Scenario · Mid-level

  8. Can you dry-run your approach to the trapping rain water problem on a small example?

    Asked once · last asked Nov 4 · Write code · Junior

  9. In an algorithm for finding the longest strictly increasing contiguous stretch, what does the “maximum so far” variable represent?

    Asked once · last asked Nov 12 · Concept · Junior

  10. How would you trace the current-run counter and maximum length while scanning a list for its longest strictly increasing contiguous stretch?

    Asked once · last asked Nov 12 · Write code · Junior

  11. Can you represent the Roman numeral values array more concisely?

    Asked once · last asked Nov 14 · Write code · Junior

  12. When merging intervals, do [1, 5] and [3, 6] combine into [1, 6]?

    Asked once · last asked Nov 15 · Concept · Junior

  13. When merging intervals, can more than two overlapping intervals be combined into one?

    Asked once · last asked Nov 15 · Concept · Junior

  14. In the merge-intervals algorithm, what does it mean for an interval to be already in the result?

    Asked once · last asked Nov 15 · Concept · Junior

  15. In a problem that stores prices in an array, how should each array index correspond to a city?

    Asked once · last asked Nov 15 · Concept · Junior

  16. Why might an algorithm create a new array on each iteration?

    Asked once · last asked Nov 15 · Concept · Mid-level

  17. How can we implement an array in Python?

    Asked once · last asked Nov 20 · Concept · Junior

Page 1 · Page 2

More Data Structures and Algorithms interview questions

How this list is made

Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.

Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.

The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every Data Structures and Algorithms interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.

557 interviews, 383 candidates, Sep 2025 to Nov 2026. Updated every month with new interviews.