SoFi Coding Interview Questions
25 SoFi coding interview problems with full optimal solutions — 13 easy, 10 medium, 2 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an SoFi interviewer values, and a FAQ section.
Showing 2 problems of 25
- #23hardfoundational
23. Median of Two Sorted Arrays
Find the median of two sorted arrays in O(log(m+n)) time — SoFi uses this hard problem to filter for candidates who can do binary search on answer space, the same pattern used in portfolio-risk percentile computations.
- #24hardfoundational
24. Trapping Rain Water
Given heights of bars, compute how much rain water can be trapped — SoFi uses this to test prefix-max reasoning that mirrors high-water-mark logic in portfolio drawdown calculations.