flâneur

Mercor SWE Interview Experience - Technical Phone Screen + Onsite Interview Questions : r/InterviewDB

reddit.com · saved by 1 readers

Topics covered: algorithms, mental math, code correctness, and system design. You just need to verbally discuss your approach/reasoning. Here are the questions that got asked: Given an N-element array, what’s the most inefficient way to deterministically sort the array, and what’s the complexity? Interviewers verbally described this LeetCode question: https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/description/ Was asked to verbally describe the optimal algorithm and why. Probability-based question. There are two coffee shops, Coffee Shop A and Coffee Shop B, that are equally good. You buy two drinks from A and two drinks from B. Each drink gets a quality score, and all four of these scores are random and independent. What is the probability that both drinks from A are strictly better than both drinks from B? Assume ties never happen. Answer We’re looking for the combinations where both of A’s scores are strictly better than both of B’s scores. A2 > A1

saved by