Mock interview on algorithms from Team Lead from Yandex

127,870 views

it-interview

Published on Feb 4, 2024
About :

Practice interviewing: https://clck.ru/3ASssc Programming courses: https://clck.ru/3ASt6y Mock interview from Team Lead from the Yandex algorithmic section on the it-interview.io platform. Practice interviewing developers from leading companies and get detailed feedback on what salary and grade you can expect, or what you still need to work on! Vladimir's YouTube channel: / @vladimir_balun_programming Vladislav's LinkedIn: / vladislav-berezovskiy-3bb0bb193 Timestamps: 00:00 - Introduction 00:07 - Discussion of the solution to the first task 04:05 - Assessment of the complexity of the solution to the first task 06:13 - Implementation of the solution to the first task 12:17 - Testing the solution to the first task 17:08 - Discussion of the solution to the second task 25:07 - Assessment of the complexity of the solution to the second task 26:54 - Implementation of the solution to the second task 30:55 - Testing the solution to the second task 35:11 - Feedback on the interview [[ Feedback on the candidate ]] Recommend this person for the next stage? YES What were their technical skills? 4/5 What were their problem-solving abilities? 5/5 What were their communication skills? 5/5 During the interview, he solved two problems: Merge Intervals and Longest Substring Without Repeating Characters. The candidate is excellent at coming up with solutions to problems, and then implements them well (allows a few bugs, which he then successfully finds himself). He writes clean and understandable code, and is very familiar with the language (he wrote code quickly in Go - no difficulties arose). He can estimate the complexity of solving problems, but is not confident, since he makes small errors in estimates. He can test code, but does not take into account all test cases. He is pleasant to talk to, and it was comfortable to talk to the candidate. Merge Intervals - he immediately asked a question about the order of intervals, and after my answer, he immediately sorted the intervals by the beginning of the interval (he decided to ignore the coinciding beginnings of intervals - he said that they would merge during the pass). He told me what sorting algorithm would be used. He took into account the case that intervals with the same end and beginning would have to merge. Regarding the complexity assessment, I made a mistake at first and said that the time complexity would be O(n), but then I remembered about sorting and estimated the time and memory complexity correctly. During the implementation, I suggested adding the first interval to the final array right away (this simplified the code). I wrote the solution pretty quickly, but ultimately submitted it with an error. I suggested the candidate generate test cases that he would use to test his code, but the test cases did not cover all the basic cases (I had to prompt him). After that, I realized that the error in the code would be related to an empty slice interval, but I found the problematic place in the code myself, not the first time. As a result, the solution to the problem took 19 minutes, the code turned out to be clean and concise. Longest Substring Without Repeating Characters - the candidate immediately suggested using a floating window to solve the problem, but at first with a non-optimal search for duplicates in the substring (then he himself explained how this solution could be improved). Regarding the complexity assessment - he calculated the complexity by time correctly, but got confused with the complexity by memory (he said that it was O(n), but when I told him that the alphabet was limited, he named the correct complexity). Before the implementation, he did not specify anything about the character register, but during the implementation he asked about the encodings - would there really only be ASCII characters. He wrote the solution fairly quickly, but ultimately submitted it with an error. I suggested that the candidate generate test cases that he would use to test his code. He found the problem in the generated test cases and fixed it himself, then there were still errors left due to carelessness, which I pointed out to him. As a result, the solution to the problem took 22 minutes, the code turned out to be clean, but with one extra condition. I suggested that the candidate simplify the code - he successfully coped with this. To the additional question about what is the maximum possible length of a substring without duplicates - he answered correctly. Recommendations for the candidate: I would advise paying attention to code testing, namely, selecting test cases that will cover most cases of a particular solution (since not all basic cases were covered in the first task). You should also practice a little more with assessing the complexity of certain solutions (since in both tasks there was a certain uncertainty in the answers and small errors in the estimates). Well, and additionally do not forget to devote a little more time to the requirements for

Trend Videos
26:50
4:18
1,070,671 views   5 days ago
17:13
26:37
11:12
645,902 views   5 days ago
4:01
5,792,045 views   3 days ago
4:18
1,070,671 views   5 days ago
26:50
3:28
178,388 views   1 day ago
Google AdSense
336 x 280
Up Next
28:27
DW Documental
1,349,233 views
1 month ago
9:38
CNN en Español
54,418 views
13 hours ago
51:56
DW Documental
1,299,212 views
2 weeks ago
9:58
CNN en Español
470 views
31 minutes ago
28:26
DW Documental
4,537,163 views
1 year ago
34:05
45:15
Explora Planet
6,865,221 views
1 year ago
9:15
4:15
CNN en Español
161,536 views
1 month ago
15:24
Televisión Pública Noticias
806,830 views
2 weeks ago
14:33
Meganoticias
892,995 views
6 months ago
21:23
janine freitas
630,464 views
3 years ago
26:05
Ateliê Ise Crochê passo a passo e tutorial
167,741 views
2 years ago
22:48
12:35
Janaína Vlogs e Crochê 🧶
69,625 views
4 years ago
17:42
janine freitas
468,730 views
4 years ago
17:34
1:02:30
Mary Souza crochê
31,429 views
1 month ago
59:59
Ateliê Doce Crochê
422,931 views
4 years ago
1:36:43
1:08:42
Ateliê Isabela Fernanda
240,137 views
2 years ago
21:14
Cantinho da Lia Crochê
128,760 views
2 years ago
53:12
janine freitas
33,787 views
1 month ago
1:11:29
Mary Souza crochê
20,423 views
1 month ago
23:21
Claudinha Crochê
745,809 views
4 years ago
14:04
Ateliê Isabela Fernanda
209,131 views
2 years ago
Google AdSense
336 x 280

fetery.com. Copyright 2024