Microsoft Software Engineering Interview: Number Array

  Рет қаралды 21,274

Exponent

Exponent

Күн бұрын

Пікірлер: 22
@tryexponent
@tryexponent 3 жыл бұрын
Don't leave your career to chance. Sign up for Exponent's system design interview course today: bit.ly/35pBJiz
@kklowd
@kklowd 2 жыл бұрын
I don't think this is a good example of how to interview, but a great lesson on how to think and solve this technical problem. I don't know if he was confused about what kind of video this was but the title is misleading
@lightsensestudio8766
@lightsensestudio8766 2 жыл бұрын
Never seen an interviewer so silent in an interview. The interviewee is making a bunch of assumptions and the interviewer has zero input.
@implemented2
@implemented2 4 жыл бұрын
What I would expect to hear is a bunch of clarifying questions. Does list have constraints on number of elements and do elements have some upper bound? Does the order of elements matter? The solution proposed is actually a set, not a list. What about negative numbers?
@tryexponent
@tryexponent 4 жыл бұрын
This is a great list Michael - the interviewee in this case had some context beforehand, but asking clarifying questions is a must-have!
@tryexponent
@tryexponent 4 жыл бұрын
Any comments or questions about how to ace your software engineering interview? Ask below and we'll answer!
@youssefabdallah3940
@youssefabdallah3940 2 жыл бұрын
TBH, I feel like this video is full of inaccuracies. The solution would work for a multiset of integers, not a list (there is no notion of previous and next elements). In addition, saying that multiplication and division are O(1) is certainly not true.
@binkygoh6787
@binkygoh6787 2 жыл бұрын
The first idea that came up to my mind is something like bitmap. I wonder if calculating prime map might take a lot of time?
@MarufHossain
@MarufHossain 2 жыл бұрын
This is not the right approach for a real interview. :(
@vikx02
@vikx02 Жыл бұрын
This is a great example of a bad interview.
@nameunknown007
@nameunknown007 2 жыл бұрын
What! I wouldn’t even start coding if I haven’t gotten the algorithm first. I should be able to immediately see that 6, 3, 2 will be a problem. This is not a list, it’s utmost a set. And if the time complexity to find nth prime is O(n) and then reverse mapping, this solution won’t scale. So I won’t propose this solution. ROFL you should’ve set a context that interviewee will make a bunch of assumptions. Thanks for the video.
@siqiaochen
@siqiaochen 2 жыл бұрын
Not even sure if it is the problem interviewer really asked. Is this interview staged?
@m.subanov
@m.subanov 2 жыл бұрын
Was thinking about bit shifting, kinda have buckets where small integers are stored.
@abraiyan7984
@abraiyan7984 3 жыл бұрын
The intro gave me goosebumps.
@stealthrabbi9064
@stealthrabbi9064 2 жыл бұрын
Snake Case in Java?
@Ideagineer
@Ideagineer 2 жыл бұрын
Thank you for making this video!
@terreyshih1628
@terreyshih1628 4 жыл бұрын
another good one form you. Would you categorize this as an easy or medium level quetsion. How frequent would you exepct this type of questions on a phone screen vs. onsite ? In addition, I thought we are supposed to convert some list like '1, 2, 3, 4, 5' and conver it to one singel number. Should he have added multiple numbers to the list as a test case ? thanks
@vinaynaik953
@vinaynaik953 4 жыл бұрын
Excellent good work guys
@harishbytes4735
@harishbytes4735 4 жыл бұрын
Awesome
@tryexponent
@tryexponent 4 жыл бұрын
Glad you liked it!
@c2ashman
@c2ashman Жыл бұрын
Coding, without knowing the solution on paper is a terrible way of addressing a problem. Even more problematic is, what does the interviewer really want. The question is not clear. How can you start coding without knowing the problem. You could code anything and it would basically satisfy the description. Just horrible. It's also a terrible way of learning to code. And btw...his coding style is all over the place. Nothing to see or learn here. Lets get out of here.
Google Software Engineering Interview: Serialize Strings
15:45
Amazon System Design Interview: Design Parking Garage
29:59
Exponent
Рет қаралды 1,4 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 7 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 36 МЛН
Day 2-Session 2: Behavioural Modelling in the Context of Emerging Mobility
1:29:43
Whiteboard Coding Interviews: 6 Steps to Solve Any Problem
15:18
Fullstack Academy
Рет қаралды 378 М.
I Asked Microsoft Software Engineers How To Get Hired
10:34
Namanh Kapur
Рет қаралды 385 М.
Google Coding Interview With A Facebook Software Engineer
49:59
Clément Mihailescu
Рет қаралды 946 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1,2 МЛН
Answering Microsoft’s top 17 interview questions in 2023
29:12
Dan Croitor
Рет қаралды 28 М.
Software Engineering Job Interview - Full Mock Interview
1:14:29
freeCodeCamp.org
Рет қаралды 1,5 МЛН