Capital One·Machine Learning Engineer·Technical Phone Screen
- How would you check whether the parentheses in a given string are balanced, using Python?
“Classic stack problem.”
37 Machine Learning Engineers have shared notes from their Capital One interviews, with the questions they were asked in each round. That is 10% of the 382 Capital One interview notes on Screna AI.
37 Machine Learning Engineer interview notes
“Classic stack problem.”
“Started with the extra-space version which is pretty mechanical, just map (i, j) to (j, n-1-i) in a new matrix.”
“This one sprawls if you let it.”
“Pretty basic loop problem.”
“I got the basic loop going pretty fast but tripped on the wrap-around logic.”
“Knew this cold.”
“This one sprawled fast.”
“This is the warmup question that somehow still trips people up.”
“Straightforward prefix sum scan.”
“This one took me a while to even parse correctly.”