Lightning Talk: How to Win at Coding Interviews - David Stone - CppCon 2022

  Рет қаралды 25,631

CppCon

CppCon

Жыл бұрын

cppcon.org/
---
Lightning Talk: How to Win at Coding Interviews - David Stone - CppCon 2022
github.com/CppCon/CppCon2022
5 minutes of preparation is plenty to beat any coding interview.
---
David Stone
David Stone has worked on autonomous vehicles, large-scale distributed systems, and now works developing software for high-frequency trading. He is a member of the C++ Standardization Committee, where he chairs the Modules Study Group (SG2) and is the vice chair of the Evolution Working Group (EWG).
---
Videos Filmed & Edited by Bash Films: www.BashFilms.com
KZbin Channel Managed by Digital Medium Ltd events.digital-medium.co.uk
#cppcon #programming #coding

Пікірлер: 35
@EgD996
@EgD996 Жыл бұрын
I really like this guy! Am I watching a stand-up comedy?
@kodirovsshik
@kodirovsshik Жыл бұрын
What a great talk, I wish there were more like this one!
@David-fn1rd
@David-fn1rd Жыл бұрын
Thanks!
@khatdubell
@khatdubell Жыл бұрын
@@David-fn1rd Everyone knows interviews are testing for the wrong things. The real question is, what's the solution?
@David-fn1rd
@David-fn1rd Жыл бұрын
@@khatdubell Great question. I'm considering that for a full-length talk this year -- how we should be interviewing.
@JohnDlugosz
@JohnDlugosz Жыл бұрын
You can find a guy who promotes std::rotate as the solution to everything.
@ChrisCox-wv7oo
@ChrisCox-wv7oo 8 ай бұрын
@@JohnDlugosz Sean Parent : kzbin.info/www/bejne/qYjKdZ5jpJJpkKc
@yuurishibuya4797
@yuurishibuya4797 Жыл бұрын
Awesome, I love lighting talks, they pack the punch!
@HaoZhang88
@HaoZhang88 Жыл бұрын
It is pretty fun watching this talk!
@Sychonut
@Sychonut Жыл бұрын
Interviews at big tech is like a strange mating ritual.
@gustavob.7957
@gustavob.7957 Жыл бұрын
that is actually great. simple but really valuable
@Bbdu75yg
@Bbdu75yg Жыл бұрын
Give us more talks like that !
@zhongchu3325
@zhongchu3325 6 ай бұрын
But leetcode 229, majority element II requires constant space. In this case, you are not allowed to use hash map. If hash map is allowed, this is simply an easy level problem. In a real code interview, the interviewer will definitely ask you to think of a solution using constant space. It won't be that easy....
@Raptormonkey
@Raptormonkey 5 ай бұрын
Bruh he said use the Booyer Moore voting algorithm
@user-ig8ut3zi4z
@user-ig8ut3zi4z Жыл бұрын
LeetCode style interview questions don't measure how good the interviewee is in C++ or software engineering. It only measures how good they are at solving LeetCode style problems. If all you do in your company is solving LeetCode problems, then hire via this broken method. You will be fine.
@JohnDlugosz
@JohnDlugosz Жыл бұрын
It's only one of the skills needed. When implementing something, a "step" will boil down to something like that : find something, organize something, count something, etc. Business logic usually falls into this category. Now we test two skills: can you do that efficiently, and can you actually write code that works (write fluently)? But that's not Software Engineering. I'd say the best guide to testing is to test candidates on the stuff you do all day, every day. Well, strip out "Sit through meetings".
@etherstrip
@etherstrip Жыл бұрын
@@JohnDlugosz Actually, no need to strip it out. After all, an interview is a meeting too.
@gizigus055
@gizigus055 10 ай бұрын
It's worse than that. Most of these big companies cannot force candidate to do the interview in a specific language. It's part of the recruitment process. So technically you can get a C++ job by doing a Leetcode interview in Python. It makes absolute no sense but this is the way it has become. It all boils down to how good you are at Leetcode.
@joachimjoyaux179
@joachimjoyaux179 Жыл бұрын
Excellent !
@gokulram4950
@gokulram4950 Жыл бұрын
Awesome...
@deeplearningpartnership
@deeplearningpartnership Жыл бұрын
Cool advice.
@Shakephobiaful
@Shakephobiaful Жыл бұрын
The last sentence is the most important one. Great talk 👍
@qazarl
@qazarl Жыл бұрын
Haha brilliant!
@ohwow2074
@ohwow2074 Жыл бұрын
People sometimes forget that unordered containers are faster when it comes to searching. Great talk nonetheless.
@vladimirkraus1438
@vladimirkraus1438 Жыл бұрын
In reality they are usually not. Their only benefit is that they scale well for large amounts of data. But for smaller amounts they are usually much slower than a linear search in a plain stupid vector. It is always good too discuss this with the interviewer. What is the expected amount of data? Are we optimizning for speed or do we want a scalable solution? The fact that you know pros and cons of various containers is what will will impress the interveiwer probably more that he solution itself.
@ruadeil_zabelin
@ruadeil_zabelin Жыл бұрын
Most technical interviews are testing the wrong thing. You know you're going to get the wrong people when you give them homework. Why? Because only people that really need the job badly will try their hardest at them. People that know they're good enough will just try somewhere else and not bother.
@vladimirkraus1438
@vladimirkraus1438 Жыл бұрын
Sometimes you prefer people who are actually interested in the job than superstars with inflated ego.
@gursewaksingh2146
@gursewaksingh2146 5 ай бұрын
Like for 3rd question, most of the interviewers wants candidate to write their own algorithm.
@habibahmedawan
@habibahmedawan Жыл бұрын
oh boy😀
@vladimirkraus1438
@vladimirkraus1438 Жыл бұрын
You should also show that you think ahead and are able to generalize. When given the first task finding the numbers which occur more than 1/3 of time, you should ideally create a solution in which 3 would be a runtime argument passed to the function. Unless it is a severe performance hit, in which case you should discuss this with the interviewer and only in that case decide to pass the value as compile time param. Also in the second task, you should ideally generalize the number of arrays and the required frequency as runtime args. If you just hardcode the number of arrays, your solution is not flexible in anticipation of future changes of requirements. In short: seniors and experts should always think in general and abstract terms and anticipate future changes because they have seen so many. And always discuss the task presumptions before you start working on a solution. Show that you consider multiple solutions and you are able to tell the pros and cons.
@tetsuoshiva
@tetsuoshiva Жыл бұрын
Or : "How to interview when they liked your CV and it's just a formality".
@shrekistlieben
@shrekistlieben 4 ай бұрын
No no no ... Hash map is like for idiots . .. Lee Vodkatrubac can use a Travelling Fenwick Heap to solve it in O(1) and 3 lines of code
@zz-oq2dt
@zz-oq2dt Жыл бұрын
Are u kidding me?
@sunnyshivam4782
@sunnyshivam4782 Жыл бұрын
Great Idea
Ну Лилит))) прода в онк: завидные котики
00:51
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 16 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 2,3 МЛН
WHY IS A CAR MORE EXPENSIVE THAN A GIRL?
00:37
Levsob
Рет қаралды 18 МЛН
Why Good Programmers FAIL Coding Interviews
8:15
Sahil & Sarra
Рет қаралды 337 М.
Why Does Scrum Make Programmers HATE Coding?
16:14
Thriving Technologist
Рет қаралды 489 М.
How I Passed The Google Coding Interviews
18:50
Chris Jereza
Рет қаралды 17 М.
Doing LeetCode Be Like (Coding Interviews Be Like Pt. 2)
4:41
Nicholas T.
Рет қаралды 739 М.
How to NOT Fail a Technical Interview
8:26
Fireship
Рет қаралды 1,3 МЛН
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 278 М.
Beginner React.js Coding Interview (ft. Clément Mihailescu)
36:31
Ben Awad
Рет қаралды 2,1 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 710 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 935 М.
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 24 МЛН
POCO F6 PRO - ЛУЧШИЙ POCO НА ДАННЫЙ МОМЕНТ!
18:51
Жёсткий тест чехла Spigen Classic C1
0:56
Romancev768
Рет қаралды 15 М.
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 569 М.
What model of phone do you have?
0:16
Hassyl Joon
Рет қаралды 76 М.