במהלך הראיון נשאלתי שאלה על טיפול במערכת עם זמן תגובה איטי. הסברתי את הצעדים שאנקוט, כמו ניתוח לוגים, אופטימיזציה של שאילתות, ושימוש בקאשינג ו-Load Balancer, תוך מתן דוגמאות מפרויקטים קודמים. המראיין בחן את היכולת שלי לזהות בעיות ולספק פתרונות.
שאלות מתוך הראיון
מה היית עושה אם משתמש מתלונן על זמן תגובה איטי במערכת?
OA - קיבלתי מייל להשלמת מבחן עם 2 שאלות תכנות, 70 דק'.
שאלות מתוך הראיון
An AWS client has brought servers and databases from data centers in different parts of the world for their
application. For simplicity, let's assume all the servers and data centers are located on a 1-dimensional line.
You have been given the task of optimizing the network connection. Each data center must be connected
to a server. The positions of n data centers and n servers are given in the form of arrays. Any particular
data center, centerli, can deliver to any particular server destination, destination [j/. The lag is defined
distance between a data center at location x and a server destination at location yis |x-y|, i.e., the
absolute difference between x and y. Determine the minimum lag to establish the entire network.
תשובות
הוסף תשובה
|
לצפיה בתשובות
ינואר 2025
ניתן למיין את 2 המערכים ( n*log(n) + k*log(k) )
כעת ניתן לחשב הפרש בין כל אינדקס בין 2 המערכים והסכום זה התוצאה שנחזיר
(בגלל המיון בהכרח זה המרחים הקצרים)
typical interview, asked to introduce my self and then i got asked the question
שאלות מתוך הראיון
Given an array of blue, green and yellow balls, sort the balls so that the green balls are on the right, blue balls are on the left, and the yellow ones are in the middle.
תשובות
הוסף תשובה
|
לצפיה בתשובות
ינואר 2025
3 משתנים כך שכל משתנה לכדור
סופר את כמות המופעים ואז אני יכול לאתחל מחדש את המערך לפי הסדר הנדרש למעלה O(n)
מבחן בית, נכללו שתי שאלות קוד ולאחר מכן המון שאלות אישיות
שאלות מתוך הראיון
you have a list of numbers in python, you want to find the mininum number of cells to delete to satisfy the following condition:
max(numbers) <= 2 * min(numbers)
given a string s, find the maximum length of two of its substrings that are perfect anagrams. if no such substrings exist, return -1