מטלת בית ממוחשבת.
2 שאלות קוד במסגרת זמן של 90 דקות.
בנוסף, שאלון ׳אישיותי׳ בלי הגבלת זמן, לקח לי פחות מחצי שעה.
שאלות מתוך הראיון
שאלת קוד:
You are given an array A representing heights of students. All the students are asked to stand in rows. The students arrive by one, sequentially (as their heights appear in A). For the i-th student, if there is a row in which all the students are taller than A[i], the student will stand in one of such rows. If there is no such row, the student will create a new row. Your task is to find the minimum number of rows created.
Write a function that, given a non-empty array A containing N integers, denoting the heights of the students, returns the minimum number of rows created.
For example, given A = [5, 4, 3, 6, 1], the function should return 2.
Students will arrive in sequential order from A[0] to A[N−1]. So, the first student will have height = 5, the second student will have height = 4, and so on.
Assume that:
N is an integer within the range [1..1,000]
each element of array A is an integer within the range [1..10,000]
אני חייב לציין לטוב את עניין הראיונות הקצרים. ראיון ראשון זה ראיון עם המגייס מחו"ל באנגלית במשך כ-20 דקות כדי לאמת ולפרט יותר את קו"ח. אחרי שנמצאת מתאים להמשך, מקבלים מייל, עם סרטונים לגבי העבודה בגוגל ובפרט על התפקיד שאליו מתמיינים. אחר כך אמורי להיות 5 ראיונות מקצועיים בני 45 דקות. השתתפתי רק בראשון ולא עברתי.
שאלות מתוך הראיון
לקודד task של run_phase של UVM monitor עבור פרוטוקול תקשורת.
לקודד design module של שמבצע shift register והשוואה. משימה נורה פשוטה לכמה דקות, כנראה כדאי לבדוק שיודעים גם לקרוא design.