О чём разговор
Nested calculator parser, timed-out RPC log search and lake counting on an island
Этапы
- 1Скрининг
- 2Лайв-кодинг
Все вопросы
- 01:48
Would you need sponsorship from Google to live in Poland?
Мотивация - 03:28
Are there any other coding languages that you're proficient in?
Технический - 03:51
If you were to do a technical interview with Google, which coding language would you prefer to use?
Технический - 04:01
In your current role, what percentage of the day do you spend just coding?
Поведенческий - 07:15
What are your salary expectations?
О зарплате - 15:29
Write a calculator that takes a single string with nested add, mul and pow operations and returns a single integer.
Код - 37:47
Add support for division and subtraction to the calculator.
Код - 43:57
Do you know what the time complexity of your solution would be?
Код - 48:58
What would actually happen if we introduced functions that might have more or fewer than two arguments?
Код - 1:07:51
Find the first RPC in the log that timed out, meaning it took more than three time units.
Код - 1:41:09
Do you have an example where your algorithm does not perform well, or where problems could arise?
Технический - 1:44:01
How would you solve the problem when some RPCs have no end event in the log?
Технический - 2:02:11
Implement a method called countLakes that takes a map of the ocean and the coordinates of the clicked pixel, and returns the number of lakes on that island.
Код - 2:15:45
What is your algorithm going to do with the neighboring water and land pixels it finds?
Код - 3:06:19
What would happen if an island has an irregular shape and its bounding box also contains other islands?
Код
Ключевые моменты
- 15:29
Task: calculator with nested operations
- 1:07:51
Task: first timed-out RPC in the log
- 1:44:01
Case with no end event
- 2:41:56
Hint: D8 for land, D4 for water
- 3:06:19
Edge cases: irregular island shape
Отрывок из разговора
I think that for the first iteration, actually, to look over there to find all the adjacent island pixels, I think you should not use a D4, you should use a D8. So that you go all the directions around the particular, you have to go all the directions including diagonals. For water, it's a D4.
Yeah, that's a significant remark. So we have the four directions. We can just make the d8 by taking the d4. and then adding up the corners minus one and minus one minus one yeah correct can we format it here I think it's pretty much okay.
Right. My understanding is that in a row, while looking for lands, you want to explore in the light 64. When looking for land, you want to explore the earth. But when looking for water you want to explore d4 okay which should be very simple
okay i think that's that's correct i think it's correct now we need another set for water So we visited some teachers inside of an island. So now we are pretty much sure that our neighbors aren't ocean. So we just keep on and on because we
Что вынести
The recording covers an HR screening and three live-coding technical interviews at Google, in TypeScript. The problems were a calculator for nested add, multiply and power expressions (recursive string parsing, then subtraction, division and variable-arity functions), finding the first RPC that timed out in a start/end event log, and counting lakes on an island in a pixel grid (depth-first search, 8-way for land and 4-way for water). The outcome was a rejection. In the last interview the interviewer called the solution workable but noted that edge cases were not covered: irregularly shaped islands and other islands inside the bounding box.
Кандидат ожидал около 40 000 злотых в месяц в Кракове; рекрутер назвал 330–350 тыс. злотых в год на этом уровне, что ниже ожиданий.
Разбор собран по записи разговора.
Расшифровка
Recording will not be used to evaluate your candidacy for employment. If you do not wish for this call to be recorded, this decision will not affect your application and you may revoke your consent at any time. Do you consent to allow recording for quality and training purposes?
Yes, I do.
Perfect. Thank you. So, yeah, I know I spoke to you briefly on LinkedIn, but the purpose of the call is just to get a better understanding of, you know, your experience and what you're looking for and everything and to see if it aligns with what Google are looking for. So at the moment, Google have quite a lot of software engineer opportunities in Krakow and Warsaw. And they also have a lot coming up over the next few weeks and months. So there's not really one specific role in mind here, but it's a case of moving through Google's general interview process. And then if you are successful, then you would enter into more of a specific role and team matching stage. Does that make sense?
Yep, it certainly does.
Perfect, okay great. Well I've got a quick list of questions to run through with you and then if it's a good match and you would be interested in interviewing at Google I'll let you know all about the interview process then okay?
Okay. Perfect. So where do you live? I currently live in Iran, Armenia and looking for opportunities to relocate in Europe countries.
mainly in Poland. Okay, so did you say Romania? Armenia. Oh, Armenians. Everyone. Okay, so you're open to Poland, Krakow, Mosso? Yeah, yeah. We also will have opportunities in Bucharest. Would you be open to that? Probably too. Okay, do you have any preference between the three or you're open to them all? I'm open to them
all, but many colleagues moved to Poland in recent years, so I think that's a
good destination. Okay, thank you. So would you need sponsorship from Google to live in Poland,
to work in Poland, sorry? You mean a work visa, etc.? Yes. Probably I will. Okay, okay, thank you.
Okay then, so in terms of your education, do you have a degree or you self-taught?
I have a bachelor of company in mobile and software development. Web software development. Exactly. Also, I've graded company Cybersecurity.
Okay.
They are company cybersecurity learning program of the greatest university in CIS, I would say. And also I've created company as an Android developer. So I'm kind of deep into the Google Material UI, etc., Java, Kotlin. But I've moved towards front-end development and full-stack web development in general in recent years. So that's what I mainly do.
Okay, I was going to ask actually, do you have any specific domains that you specialize in? So you're a full stack engineer and did you say cybersecurity?
Yep. So I was taught company cybersecurity measures, different attacks, methods of prevention. So we were visiting hackathons, pen testing, etc.
Perfect. Thank you. Okay, so you mentioned Java and Kotlin. Are there any other coding languages that you're proficient in?
I know quite a bit of Python, C, C++, C Sharp since it's similar to Java.
Yeah.
And I'm learning Go, Golan, so that is another language, I would say.
Okay, so if you were to do a technical interview with Google, which coding language would you prefer to do that in?
I would prefer to use TypeScript as my main language.
Okay. Thank you. Okay, then. So in your current role, what percentage of the day do you spend just coding?
In my current role, I spend like 60% of time, I would say, because I'm a senior front-end developer in an outsource company linked to company. and I work both on company projects and on many different projects of outsourced companies. And we are called as a rescue team of strong developers to some projects, often more than that, to some projects where developers experience some trouble. For example, they can't deliver an MVP in time. So I spend a lot of time on interviewing junior developers, on mentoring them, teaching them how to do this and that. The same goes for middle developers. Also, often I'm on calls with stakeholders or clients to explain them that certain features won't work, for example. or to propose some changes that will affect business growth or speed of delivery of MVP, for example.
Дальше — после входа. Это бесплатно и займёт минуту.
Войти и читатьПохожие собеседования
TaxDome
Frontend Developer
Live-coding на TypeScript, типы JS, сложность, WebSocket, порталы React, утечки памяти
Реализуй функции where и sort для массива объектов и функцию query, которая применяет их цепочкой.
BI.ZONE
Frontend Developer
Структура проекта по FSD, сборщик, SSR, TypeScript-типы и ревью списка постов
Как бы ты выстроил структуру нового проекта на React, TypeScript и дизайн-системе? Нужен ли FSD?
Selecty
Frontend Developer
HTTP, Event Loop, промисы, React-хуки, TypeScript-типы, выдача купюр, FSD, код-ревью
Из чего состоит HTTP-запрос?
01.TECH
Frontend Developer
Рендеринг браузера, Core Web Vitals, event loop, TypeScript, HTTP и CORS, XSS и CSRF
Расскажи о своём опыте: что ты делал, что нравилось и чем хочешь заниматься?
