Тёмный

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

CppCon
Подписаться 153 тыс.
Просмотров 28 тыс.
50% 1

cppcon.org/
---
Lightning Talk: How to Win at Coding Interviews - David Stone - CppCon 2022
github.com/Cpp...
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
RU-vid Channel Managed by Digital Medium Ltd events.digital...
#cppcon #programming #coding

Опубликовано:

 

7 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 37   
@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 Год назад
@@JohnDlugosz Sean Parent : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sWgDk-o-6ZE.html
@yuurishibuya4797
@yuurishibuya4797 Год назад
Awesome, I love lighting talks, they pack the punch!
@HaoZhang88
@HaoZhang88 Год назад
It is pretty fun watching this talk!
@gustavob.7957
@gustavob.7957 Год назад
that is actually great. simple but really valuable
@Bbdu75yg
@Bbdu75yg Год назад
Give us more talks like that !
@Sychonut
@Sychonut Год назад
Interviews at big tech is like a strange mating ritual.
@TirexTirexians
@TirexTirexians Год назад
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 Год назад
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.
@zhongchu3325
@zhongchu3325 10 месяцев назад
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....
@HelloSpyMyLie
@HelloSpyMyLie 9 месяцев назад
Bruh he said use the Booyer Moore voting algorithm
@Shakephobiaful
@Shakephobiaful Год назад
The last sentence is the most important one. Great talk 👍
@gokulram4950
@gokulram4950 Год назад
Awesome...
@joachimjoyaux179
@joachimjoyaux179 Год назад
Excellent !
@poppmeow7586
@poppmeow7586 8 дней назад
not some very good solutions from an algorithm's prospective, but the presentation style is very fun to watch
@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.
@deeplearningpartnership
@deeplearningpartnership Год назад
Cool advice.
@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.
@qazarl
@qazarl Год назад
Haha brilliant!
@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.
@gursewaksingh2146
@gursewaksingh2146 9 месяцев назад
Like for 3rd question, most of the interviewers wants candidate to write their own algorithm.
@shrekistlieben
@shrekistlieben 8 месяцев назад
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
@habibahmedawan
@habibahmedawan Год назад
oh boy😀
@tetsuoshiva
@tetsuoshiva Год назад
Or : "How to interview when they liked your CV and it's just a formality".
@zz-oq2dt
@zz-oq2dt Год назад
Are u kidding me?
@sunnyshivam4782
@sunnyshivam4782 Год назад
Great Idea
Далее
Bro's Using 3 Weapons
00:36
Просмотров 4,2 млн
I Did This With Coffee! 🤯☕️ #shorts
00:22
Просмотров 593 тыс.
My 10 “Clean” Code Principles (Start These Now)
15:12
2 Years Of Learning C | Prime Reacts
22:24
Просмотров 293 тыс.
So, you want to be a programmer?
20:43
Просмотров 335 тыс.
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Просмотров 247 тыс.
Bro's Using 3 Weapons
00:36
Просмотров 4,2 млн