I first proposed using an array to remember each 1's location, then realized it was quite expensive to perform the addition. With the interviewer's help, I arrived at using a hash table. I was then asked to write a hash function. It was quite challenging for me, but the interviewer was really nice and very helpful, pushing me to my limit.
Yahoo onsite interviews only occur on Mondays. The onsite interview experience was not very good. First, they flew me to Sunnyvale but only provided one night of hotel accommodation. This meant every candidate either ended up staying with friends for another night or had a very tight schedule. The lunch consisted of just tacos; many candidates didn't eat any food for lunch at all. My visit to the Yahoo office gave me the impression that it is a sad place to work. I decided not to work there the moment I entered the building; this was just a personal feeling.
I received a rejection email four days after the onsite interview.
Design a data structure to store a sparse 2D matrix which contains only 0 or 1. Then, write a function to add two such matrices.
What is a page table, virtual memory, and schema? What related web experience do you have?
The following metrics were computed from 1 interview experience for the Yahoo Front End Software Engineer role in Sunnyvale, California.
Yahoo's interview process for their Front End Software Engineer roles in Sunnyvale, California is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for Yahoo's Front End Software Engineer interview process in Sunnyvale, California.