Don't leave your software engineering career path to chance. Make sure you're interview-ready with Exponent's software developer interview prep course. Start free. bit.ly/3LcNytD
I appreciate this one because it’s reflective of a real experience. He struggled his way to an answer. Not just blazing through with an optimal solution because he previously had it memorized.
I appreciate that this is a reflective nature of how real world coding interviews are. Most times, they make it seem like robots or people that have memorized all Leetcode solutions are the ones that are supposed to work for the FAANG companies or pass their coding challenges.
And then she asked what happen if it is even number of elements and before that the arrays are different sizes. She is changing the question before it is answered,
The question was not properly expressed because it leads to more questions: "Given two sorted arrays of different sizes, return the median of the two sorted arrays". 1) return to different answers, one for each array? or 2) the median of the combined arrays? It is hard unfair since interviewers prepare their questions in advance for weeks and check their answer and have papers and notes while the interviewee does not. Make THAT make sense.
Don't leave your software engineering career path to chance. Make sure you're interview-ready with Exponent's software developer interview prep course. Start free. bit.ly/3LcNytD
I appreciate this one because it’s reflective of a real experience. He struggled his way to an answer. Not just blazing through with an optimal solution because he previously had it memorized.
Not getting u, are u saying he has memorized thr solution?
@@gunahawk6893 no hire for you since you couldn't understand this
I appreciate that this is a reflective nature of how real world coding interviews are. Most times, they make it seem like robots or people that have memorized all Leetcode solutions are the ones that are supposed to work for the FAANG companies or pass their coding challenges.
Thanks for this video!
saw the title, recalled Strivers SDE Sheet and said thank you to that God
what is that?
what is the time complexity of this solution? is it O(log n)?
I wonder what the interviewer is noting down
And then she asked what happen if it is even number of elements and before that the arrays are different sizes. She is changing the question before it is answered,
if i get this im fucked
The question was not properly expressed because it leads to more questions: "Given two sorted arrays of different sizes, return the median of the two sorted arrays". 1) return to different answers, one for each array? or 2) the median of the combined arrays? It is hard unfair since interviewers prepare their questions in advance for weeks and check their answer and have papers and notes while the interviewee does not. Make THAT make sense.
It was already cleared in the starting of the video that we need to return median of combined arrays. Please watch the video carefully
LC hard question
This is a naive approach, we could use binary search to optimize this further
A big no hire to me. Bad coding style and barely finished it with so many hints
still works at amazon though
This question is hard one
Having variable names as pointers in Java is ironic.