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

  Переглядів 25,210

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
UKposts 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 7 місяців тому
@@JohnDlugosz Sean Parent : ukposts.info/have/v-deo/q4eYeKFkpmNnu3k.html
@yuurishibuya4797
@yuurishibuya4797 Рік тому
Awesome, I love lighting talks, they pack the punch!
@gustavob.7957
@gustavob.7957 Рік тому
that is actually great. simple but really valuable
@HaoZhang88
@HaoZhang88 Рік тому
It is pretty fun watching this talk!
@Bbdu75yg
@Bbdu75yg Рік тому
Give us more talks like that !
@Sychonut
@Sychonut Рік тому
Interviews at big tech is like a strange mating ritual.
@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 4 місяці тому
Bruh he said use the Booyer Moore voting algorithm
@joachimjoyaux179
@joachimjoyaux179 Рік тому
Excellent !
@gokulram4950
@gokulram4950 Рік тому
Awesome...
@Shakephobiaful
@Shakephobiaful Рік тому
The last sentence is the most important one. Great talk 👍
@deeplearningpartnership
@deeplearningpartnership Рік тому
Cool advice.
@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 9 місяців тому
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.
@qazarl9401
@qazarl9401 Рік тому
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.
@gursewaksingh2146
@gursewaksingh2146 4 місяці тому
Like for 3rd question, most of the interviewers wants candidate to write their own algorithm.
@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.
@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
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Переглядів 106 млн
What’s New in C++26 - Alexander Fokin
1:08:56
cppzurich
Переглядів 7 тис.
C++ Lambda Idioms - Timur Doumler - CppCon 2022
1:04:45
CppCon
Переглядів 48 тис.
ПОЛГОДА строгого режима для Lenovo Legion 5 pro. Чем может обернуться обычный ремонт ноутбука?
31:47
ААНТ КОНТАКТ Сервис по ремонту техники в ЕКБ, СПБ
Переглядів 30 тис.
Вы поможете украсть ваш iPhone
0:56
Romancev768
Переглядів 362 тис.
Распаковал Xiaomi SU7
0:59
Wylsacom
Переглядів 2,7 млн
Теперь это его телефон
0:21
Хорошие Новости
Переглядів 847 тис.