Mock technical junior quant dev interview (live coding)

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 124

  • @조바이든-r6r
    @조바이든-r6r Месяц назад +263

    i like this guy's rooms is just like Hyperbolic time chamber. only coding and nothing

  • @kubakakauko
    @kubakakauko Месяц назад +102

    I love the little side eyes he throws each new line that is written.

    • @riyanshbiswas
      @riyanshbiswas 18 дней назад +9

      I think he was cheating
      looking at another screen

    • @gavinclancy4029
      @gavinclancy4029 8 дней назад

      @@riyanshbiswas I think he was looking at the call to see the reaction to the line he just wrote, but could be cheating lol

    • @dm6031
      @dm6031 5 дней назад

      @@gavinclancy4029 most definitely cheating.

  • @hacker-7214
    @hacker-7214 Месяц назад +117

    the autocomplete is the mvp here

  • @shubhamsamrat610
    @shubhamsamrat610 Месяц назад +86

    His smile upon seeing the question said it all, as though he had encountered and solved it before.

    • @Hobbes9
      @Hobbes9 Месяц назад +23

      it's kind of trivial, just making a common data structure.

  • @raneena5079
    @raneena5079 Месяц назад +26

    Lowkey feeling proud that I knew everything here :)

  • @MadpolygonDEV
    @MadpolygonDEV Месяц назад +150

    Honestly to me the descriptions are always more complicated explained than the actual task.

    • @LeonMerk123
      @LeonMerk123 Месяц назад +8

      It Is finance after all

    • @kagof2354
      @kagof2354 Месяц назад +14

      Part of that is likely by design; a huge part of software engineering is grokking unclear or overcomplicated requirements and breaking them down into workable tasks

    • @MadpolygonDEV
      @MadpolygonDEV Месяц назад +3

      @@kagof2354 im aware but this is so counterintuitive to productivity

    • @kagof2354
      @kagof2354 Месяц назад +3

      @@MadpolygonDEV 100%, it fully is

    • @alexruan5639
      @alexruan5639 20 дней назад

      ​@kagof2354 it's just a bunch of gotchas.
      Usually, you're able to break down your projects over the coming days / sprint. But in these cases they give you like 10 minutes. Any type of mistake will just DQ you in today's market

  • @musicplaylist6909
    @musicplaylist6909 Месяц назад +82

    Imagine how much better the world would be if all the talent that get sucked into quantitative trading goes into developing software beyond algorithms to make financial firms pockets fatter.

    • @llgllg6725
      @llgllg6725 Месяц назад +2

      I would rather stay in this industry until diversity hiring is scrapped, which is not going to happen 🙂

    • @gandalfthegrey2777
      @gandalfthegrey2777 Месяц назад +11

      it does, quants are not the only smart math nerds in CS space, big AI researcher get fatter pay cheques than quants and use much more complex math

    • @ssssss-ln3ti
      @ssssss-ln3ti Месяц назад

      @@llgllg6725 you afraid of competing with minorities? cretin

    • @dan-cj1rr
      @dan-cj1rr Месяц назад +1

      yea well people go where money and conditions are, those are in financial institutions.

    • @checkdestroy
      @checkdestroy 29 дней назад

      @@dan-cj1rr We know, the point is that it's a race to the bottom. Financial institutions are literal parasites upon the productive sectors of the economy, and any benefits from the parasitic relationship have been obliterated since 2008. The younger devs or quants who want to go into this industry should be aware that you will have a target on your back as a literal retainer of some of the greediest motherfuckers on the planet.

  • @traderjm9711
    @traderjm9711 Месяц назад +303

    daily dose of imposter syndrome

    • @tsepten7930
      @tsepten7930 Месяц назад +23

      Its an implementation of a hashmap (like std::unordered_map or dict()), which is typically covered in a data structures class (we did something similar for one of our assignments). It's not as bad as the prompt seems (the interviewer 100% assumes the student has previously implemented hashmaps). I'm a senior and its been so long i've almost entirely forgotten about collision resolution techniques
      As for the code itself, its oop, c++ templates, const functions, and pass by reference all of which should be also covered in a good intro OOP class (if it teaches in c++). This is for a quant dev role (so mainly C++) so they likely expect far more knowledge esp with modern cpp stuff as well.
      I think if youre around mid-sophomore year of a cs degree, its a good time to start knowing a majority of the stuff in the video otherwise ur honestly fine.

    • @CodingJesus
      @CodingJesus  Месяц назад +42

      If you break down the concepts tested, they’re all quite basic.
      1. Templates
      2. Default constructor
      3. Pass by reference
      4. Vectors
      5. Integers

    • @spyrex3988
      @spyrex3988 Месяц назад +15

      It's hashmap implementation bro 💀🙏

    • @traderjm9711
      @traderjm9711 Месяц назад

      @@spyrex3988 my uni never taught us how to implement hashmaps so the vid was a bit confusing to me. I understand how to do it now.

    • @mwezi10
      @mwezi10 Месяц назад

      Real. But all this stuff is really insightful​@@CodingJesus

  • @sebay1571
    @sebay1571 Месяц назад +14

    I had to do this for my Data Structures class in C but it was a homework assignment lol, cool that he can do it in 30ish mins

  • @wussboi
    @wussboi Месяц назад +14

    Very brave of samad! 👏🏻

  • @Ivan-wm6gm
    @Ivan-wm6gm Месяц назад +50

    looks like he is copying from his notes the way he pauses and looks to the side and he doesn't say what he will do before coding

    • @TechWise360
      @TechWise360 Месяц назад +4

      Lmao exactly I highly suspect that

    • @TheArtineusz
      @TheArtineusz Месяц назад +14

      if you can copy something and reuse it and you know how to use it its not a problem in dev job.

    • @TechWise360
      @TechWise360 Месяц назад +8

      @@TheArtineusz but this is an interview bro

    • @TheArtineusz
      @TheArtineusz Месяц назад

      @@TechWise360 right.. just saying. Also from personal expiriance one of guys that interviewed me said that googlig is also a skill ;)

    • @eleesium8407
      @eleesium8407 24 дня назад +10

      @@TechWise360 When you realize that most coders research and review on the daily lol.

  • @mr.mystiks9968
    @mr.mystiks9968 21 день назад +3

    Honestly not a complicated question. So basic it’s actually funny to throw the rest of the vid behind patreon. But this shows that maybe quant coding interviews aren’t crazy at all.

  • @Cocamo1337
    @Cocamo1337 4 дня назад

    The thing I don't like about the resizing implementation is that part of the problem description mentions that their reasoning for creating this data structure is to reduce performance variance, and have more stable performance metrics. Having an amortized operation is like the definition of instability.

  • @joecastagno8255
    @joecastagno8255 Месяц назад +20

    This seems to easy to actually be asked by quant firms

    • @A5A5A5A5h
      @A5A5A5A5h 29 дней назад +1

      Exactly and it took too much time(thinking not typing). I work as a quantitative developer and when I interview people I ask them about math stuff, I take basic data structures for granted.

  • @Rainydays-mk6jj
    @Rainydays-mk6jj Месяц назад +20

    Why was he cheating during a practice interview?

  • @cevikmert42
    @cevikmert42 12 дней назад +2

    nice const awarness after looking already written solution code on second screen 😂

    • @cevikmert42
      @cevikmert42 12 дней назад

      nice cheating bro, keep going

  • @efipx
    @efipx Месяц назад +7

    why didnt you make him turn off the auto complete haha

  • @AbhikalpUnakal
    @AbhikalpUnakal 22 дня назад +3

    (TL;DR Not saying anything about you or the candidate or this channel, but more constructive feedback on how the question could be better )
    What a stupid question to ask in a quant interview (for the original firm that used this question) - There's no substance - it's like asking someone to write a linked list in an interview - sure you can roll out something that works - but what did you as an interviewer learn about the candidate boundaries in terms of ability to think through hard problems and multi-layered problem solving ?
    The topic of the question is actually decent - lots of areas to explore - but the actual question and what it asks the candidate too simplistic - Of course the title says it is for a junior quant dev - what differentiates a junior dev from a senior ? not sure what the expectations for the skill level of this role are - so maybe the question is warranted for the level - but it's still quite easy anyone who's ever taken a data structures course can pull this off without breaking a sweat - not sure how it helps as useful selection criteria
    For example a better question to ask around this topic would be
    Imagine you need to store and look up items based on keys - but you have insanely high insert requests order of 1million per second - there's no way so much info would fit on a single machine - how would you overcome a challenge like this
    This would lead to more interesting discussions around
    - do we need the data to be retrieved fast - is it okay to have slow reads ?
    - once a machine is full - how do you orchestrate inserts to a new machine ?
    - how can you distribute the load across multiple sites ?
    - what about the latency of operations - are the clients that insert all geographically in the same region ?
    - is there caching to reduce load ?
    - how frequently does the cache get invalidated ? read after write consistency ?
    - what happens if one of the machines containing keys goes down ? can you recover ?
    - how would you add new machines ?
    - is it possible to have redundancy ?
    - what about compaction ? can you archive keys that haven't been used for more than x days / months ...
    - what are the properties of the hash function, collision rate, throughput ?
    - what about a distributed hash table ?
    ...
    And all these questions have both a system design AND a coding / algorithms angle to them which makes it quite engaging

    • @Krzykid3432
      @Krzykid3432 21 день назад +1

      I was intrigued to watch this video wondering if there would be themes of signal processing, reduced order modelling, numerical methods, etc. This just looks like a coding problem for a software engineer.

    • @davidnicolae769
      @davidnicolae769 7 дней назад

      I agree that the aim of this interview should be to test the candidate's ability at problem solving. This problem does not come with much of that. However, he is applying for a junior position, so most likely he is a 3'rd or 4'th year student looking to get his first job in the industry. The concepts you described are not fit to ask considering the experience level of the candidate.

  • @ra2693
    @ra2693 22 дня назад +4

    Why is he constantly checking his left monitor?
    What's there )

  • @Iwebguru
    @Iwebguru 7 дней назад

    logic_error is fine, but std::length_error would be a better choice for the expand function.

  • @idensas
    @idensas Месяц назад +3

    Nice, thanks Jesus for existence of coding 🤤

    • @freenrg888
      @freenrg888 Месяц назад

      I am grateful for the existence of coding, but is Coding Jesus responsible for the existence of coding?
      Or are you thanking the biblical Jesus Christ?

  • @nwchrista
    @nwchrista Месяц назад +8

    Looks cool but I'm just not understanding.

    • @OGKix
      @OGKix Месяц назад +6

      Im right there with you, its okay though just keep grinding

    • @snipernosnipey8162
      @snipernosnipey8162 Месяц назад +1

      Thats good, you were never meant for quant anyways

    • @AkaThePistachio
      @AkaThePistachio Месяц назад

      @@snipernosnipey8162 And you are? quick to belittle someone behind a screen but with a name like snipernospiey i would assume your brain hasnt fully developed

    • @zyhru
      @zyhru Месяц назад +2

      @@AkaThePistachio probably some kid that doesn't have no confidence and no social skills. stays at home all day, no gf, sad.

    • @LeonMerk123
      @LeonMerk123 Месяц назад

      If you don't even get this, then I'm sorry for you bud

  • @VirtueelGamingNL
    @VirtueelGamingNL Месяц назад +2

    Guess these are Java things. In the 5 years I've developed I only did optimization in database operations that the ORM did poorly due to code smells.

  • @trejohnson7677
    @trejohnson7677 Месяц назад +15

    i would deduct many points for not just taking the goddamn ai completions you already have on LMAO.

    • @CodingJesus
      @CodingJesus  Месяц назад +11

      It gave him the right answer most of the time but he ignored it / was overthinking. Good example of how being nervous can sometimes throw you off.

    • @trejohnson7677
      @trejohnson7677 Месяц назад

      @@CodingJesus agreed. but i should hope you are more nervous with real assets then you are in these interviews. i say this with full acknowledgement of it as a contrived, but nonetheless, there's a point to be made about one's ability to operate efficiently in high stress situations.

    • @freenrg888
      @freenrg888 Месяц назад

      I have had a couple of interviews like this (frontend interview with React.js/TypeScript) and it is crazy how difficult it is to think clearly and see the obvious when your thinking is being scrutinized under a magnifying lense.

  • @manta_r4y249
    @manta_r4y249 Месяц назад

    great stuff! live coding🤘

  • @1000timka
    @1000timka Месяц назад +1

    yooo which university of wisconsin??? I go to Madison LOL. W video

  • @kartikeyatiwari9125
    @kartikeyatiwari9125 9 дней назад

    Can java devs too break into quant devloper space ?

  • @shivyram
    @shivyram 19 дней назад

    I thought this was a comedy skit in the beginning!

  • @estring123
    @estring123 8 дней назад

    i'm terrified of templates, dont really understand them
    just get copilot to do it lol

  • @projectprometheous
    @projectprometheous 13 дней назад

    Is this quest on lc?

  • @adityabiswas3719
    @adityabiswas3719 Месяц назад

    where is the discord link?
    the one in the site is already expired

  • @act0r399
    @act0r399 Месяц назад

    cool, that it is ok for u that he can use google for interview

  • @willfeng6149
    @willfeng6149 Месяц назад

    Nice material, make the learning today

  • @teebone2157
    @teebone2157 Месяц назад +2

    Omg i am loss but none of this is needed to be a great trader. This is for making wallsteet happy not your own pockets

    • @freenrg888
      @freenrg888 Месяц назад +2

      It's for getting a Quant job, not for retail traders. If you want to be a private/retail algorithmic trader you can use MQL5 or Python, and you do not need to interview yourself.

  • @Daniel-rt4zz
    @Daniel-rt4zz Месяц назад +3

    I don't understand why is_occupied_ exists. Why is it necessary?

    • @haaris1117
      @haaris1117 Месяц назад +2

      i dont think it is necessary either

    • @haaris1117
      @haaris1117 Месяц назад +2

      but the point of it is to mark that an entry in the table actually holds data or not

    • @CodingJesus
      @CodingJesus  Месяц назад +7

      1. Think of a scenario where the key is an int, for example. When we create the vector with empty slots (e.g. resizing it to capacity in the constructor), each slot in the vector has Node created in it where its values (key_, value_) are default initialized. In the case where Key is an int, each key_ is initialized to junk (it could be any number). Imagine searching the vector for an int (e.g. 3) and you just so happened to hit a key that is junk-initialized to 3, but you never explicitly inserted it. That's a false positive that you'd never be able to catch without an explicit marker that this value has been inserted by the user.
      2. It will be used to delete items from the array (simply mark the spot as unoccupied).

    • @Daniel-rt4zz
      @Daniel-rt4zz Месяц назад +2

      @@CodingJesus I see, thanks. I though the vector would be default initialized with null nodes instead of junk data. Makes sense now.

    • @kagof2354
      @kagof2354 Месяц назад +1

      That would be my question as well, why initialize the nodes with garbage instead of leaving them null?

  • @iCpp_yt
    @iCpp_yt 4 дня назад

    This question way too easy a quant interview

  • @danylohromyak5228
    @danylohromyak5228 Месяц назад

    What’s the salary

  • @joeydgaf
    @joeydgaf Месяц назад

    Hey, Coding Jesus!
    I really enjoyed your video on the mock technical junior quant dev interview. I have a quick question-I've been learning about quant roles and I'm wondering about the importance of learning C++ versus Rust. Since I didn’t go to school and I’m aiming for a career in the crypto quant space, do you think I could focus on learning Rust instead of C++? I noticed Rust is used a lot in the crypto world, and I feel like it might give me a better chance at breaking into this niche, as opposed to traditional firms that require C++.
    Would love to hear your thoughts!

    • @exoneuromancer1672
      @exoneuromancer1672 Месяц назад

      C++ for the quant world, very rare to see them using rust (at least from all the job postings I've seen)

    • @nishchaykumar6942
      @nishchaykumar6942 Месяц назад

      Are you sure that's the same with the crypto thing he's talking about? I haven't heard about the crypto quant space though. ​@@exoneuromancer1672

  • @thebatman2458
    @thebatman2458 Месяц назад +1

    For these interviews woul dit be okay to do in C

  • @akosifrylle
    @akosifrylle 19 дней назад

    Shia labeouf the developer

  • @Brennan-t9b
    @Brennan-t9b 19 дней назад

    The blatant copying line by line makes this interview unwatchable.

    • @Joe-pj1qx
      @Joe-pj1qx 13 дней назад

      I started to notice that when he added the is_occupied

  • @julioflores1849
    @julioflores1849 17 дней назад

    Nah, this guy is fishy haha

  • @bim0z206
    @bim0z206 24 дня назад

    wtf

  • @ayushrana6483
    @ayushrana6483 Месяц назад +1

    Hello sir Is BS degree with Major in Mathematics and Minor in Computer science good for becoming quant trader/ researcher ?

    • @wiffle1928
      @wiffle1928 Месяц назад

      Get a masters, too many people nowadays have bachelor’s to stand out. Thats what im gonna do, maybe even work while i get a masters in mathematical finance or just maths

    • @JamesHoss-hr1jq
      @JamesHoss-hr1jq Месяц назад

      Hello sir 👋

    • @masonliebe1044
      @masonliebe1044 Месяц назад +1

      @@wiffle1928i have my masters, and I personally wouldn’t recommend getting one unless you don’t have any internships during undergrad. Masters students are somewhat looked down upon as candidates in quant because the smartest people either do phds or are hired out of undergrad. With the exception of people doing dual BS/MS at top schools

    • @wiffle1928
      @wiffle1928 Месяц назад

      @@masonliebe1044 oh really? Is that in quant only or all of tech? Like say software engineering. Because i wanted to do a masters while working in tech then go for quant instead of straight to quant.

    • @nishchaykumar6942
      @nishchaykumar6942 Месяц назад

      ​​@@wiffle1928the op was talking about quant roles.

  • @heartlyintruder
    @heartlyintruder 28 дней назад

    discord link?

  • @gameacc6079
    @gameacc6079 Месяц назад +2

    pretty weak overall

    • @snide1574
      @snide1574 25 дней назад

      just mid,most of applications are like that