Hello Everyone.
I am sharing my interview experience at Google Bengaluru. Distributed learning team (Berlin HQ), MLOps role. I was contacted by a recruiter in the month of February.
Nice and humble interviwerer. I got stuck at one point, where she pointed out an errornous assumption I was making.
Given two strings and , where , find the minimal substring in such that can be constructed by picking letters from one or more times. Return the first and (last - 1) index of the string in .
String Manipulation -> substring window
DP Approach ->
Suffix Tries -> Largest suffix to ignore.Hire
Given an array of numbers, where , find the largest subarray with sum, such that where, is the size of the array.
Strong Hire
Similar to House Robber - III.
Strong Hire
LRU Cache implementation with a tweak.
Lean
Interviewer was in a hurry. Gave vague constraints. He asked my what was the motivation to do a Ph.D. in computer science?
Given a matrix of size , Find the largest submatrix of size such that the sum over rows equals sum over columns and the total sum is less that .
2D Array + DP
Direction vectorsReject