Aleksei Zabrodskii
Aleksei Zabrodskii
  • 100
  • 123 428

Відео

03 AoC-iOS.swift 🎄 Advent of Code, but it's an app!
Переглядів 5414 годин тому
Broadcasted live on Twitch Watch live at www.twitch.tv/elmigranto
01 AoC-iOS.swift 🎄 Advent of Code, but it's an app!
Переглядів 10714 годин тому
Broadcasted live on Twitch Watch live at www.twitch.tv/elmigranto
0x58 🐶 Photo upload from scratch, part 15: ok, actually crop your photos
Переглядів 3714 годин тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x57 🐶 Photo upload from scratch, part 14: crop your photos!
Переглядів 4514 годин тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x56 🐶 Photo upload from scratch, part 13: where we defeat trigonometry (by removing it)
Переглядів 2014 годин тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x55 🐶 Photo upload from scratch, part 12: aspect ratio aware resizing gets defeated by trigonometry
Переглядів 3914 годин тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x54 🐶 Photo upload from scratch, part 11: extract calculations into pure functions
Переглядів 1314 годин тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x53 🐶 Photo upload from scratch, part 10: important point about points that starts refactoring
Переглядів 7414 годин тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
Applied to be a C# Developer: Coding Challenge
Переглядів 3,1 тис.Місяць тому
See how I did in a real-life coding challenge with no preparation except over a decade of experience building actual products. Broadcasted live on Twitch at www.twitch.tv/elmigranto
Applied to Tesla: Full Coding Challenge
Переглядів 117 тис.Місяць тому
See how I did in a real-life coding challenge after not touching these kinds of problems since high school and with no preparation except over a decade of experience building actual products. Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x50 🐶 Photo upload from scratch, part 7: move crop area itself or its corners
Переглядів 121Місяць тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x51 🐶 Photo upload from scratch, part 8: exploring crop shapes
Переглядів 83Місяць тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x52 🐶 Photo upload from scratch, part 9: generalising to multiple crop shapes
Переглядів 99Місяць тому
Real iOS app and its backend from scratch 🐶 Swift and SwiftUI Broadcasted live on Twitch at www.twitch.tv/elmigranto
0x4F 🐶 Photo upload from scratch, part 6: movable crop area
Переглядів 45Місяць тому
0x4F 🐶 Photo upload from scratch, part 6: movable crop area
0x4E 🐶 Photo upload from scratch, part 5: crop the image
Переглядів 62Місяць тому
0x4E 🐶 Photo upload from scratch, part 5: crop the image
0x4D 🐶 Photo upload from scratch, part 4: translating screen coordinates to image's
Переглядів 18Місяць тому
0x4D 🐶 Photo upload from scratch, part 4: translating screen coordinates to image's
0x4C 🐶 Photo upload from scratch, part 3: selecting a sub-rectangle
Переглядів 34Місяць тому
0x4C 🐶 Photo upload from scratch, part 3: selecting a sub-rectangle
0x4B 🐶 Photo upload from scratch, part 2: basic movable view
Переглядів 22Місяць тому
0x4B 🐶 Photo upload from scratch, part 2: basic movable view
0x4A 🐶 Photo upload from scratch, part 1: what we'll build
Переглядів 26Місяць тому
0x4A 🐶 Photo upload from scratch, part 1: what we'll build
0x49 🐶 Fixing the Dark Mode
Переглядів 85Місяць тому
0x49 🐶 Fixing the Dark Mode
0x48 🐶 Figuring the bug with Dark Mode out
Переглядів 14Місяць тому
0x48 🐶 Figuring the bug with Dark Mode out
0x47 🐶 Swift 6 Migration - Aftermath: It wasn't that bad, but I am tired…
Переглядів 34Місяць тому
0x47 🐶 Swift 6 Migration - Aftermath: It wasn't that bad, but I am tired…
0x46 🐶 Swift 6 Migration - Part 3: The App
Переглядів 59Місяць тому
0x46 🐶 Swift 6 Migration - Part 3: The App
0x45 🐶 Swift 6 Migration - Part 2: Backend Code
Переглядів 81Місяць тому
0x45 🐶 Swift 6 Migration - Part 2: Backend Code
0x44 🐶 Swift 6 Migration - Part 1: Woof Utility Library
Переглядів 93Місяць тому
0x44 🐶 Swift 6 Migration - Part 1: Woof Utility Library
0x43 🐶 Mark as read
Переглядів 362 місяці тому
0x43 🐶 Mark as read
0x42 🐶 Custom particles
Переглядів 192 місяці тому
0x42 🐶 Custom particles
0x041 🐶 Full screen "Thank you" notification in SwiftUI
Переглядів 942 місяці тому
0x041 🐶 Full screen "Thank you" notification in SwiftUI
0x040 🐶 Swift UI Particle Effect (part 1)
Переглядів 202 місяці тому
0x040 🐶 Swift UI Particle Effect (part 1)

КОМЕНТАРІ

  • @piotrek7633
    @piotrek7633 День тому

    This looks like something from highschool wut

  • @Gius3pp3K
    @Gius3pp3K 2 дні тому

    Dude doesn’t even know DATEDIFF lol. Warra scrub 😂😂😂

    • @elmigranto
      @elmigranto День тому

      Haha, true! I find solace in being able to google right questions :)

  • @KhanCryptoOfficial
    @KhanCryptoOfficial 2 дні тому

    love it

  • @BillyRichardson
    @BillyRichardson 2 дні тому

    Thanks for sharing, this was great

  • @exhilex
    @exhilex 2 дні тому

    did you get the job?

  • @dolessaymore
    @dolessaymore 3 дні тому

    Interesting. My challenge was determining which folder to put my rejection email in.

  • @user-pe9qg3hg3k
    @user-pe9qg3hg3k 3 дні тому

    i opened this expecting it to be near impossible.. but looked at it and was like.. o.o

  • @hotdogs95
    @hotdogs95 3 дні тому

    for number 2: cant we just get the smallest absolute value within the array and then check if that value is in the original array? if it is then return that number if not return a negative version of that number ?

  • @DrAlicia
    @DrAlicia 5 днів тому

    did you get the job

    • @elmigranto
      @elmigranto 4 дні тому

      I decided not to pursue this further after passing this screening.

  • @Krapciuch
    @Krapciuch 6 днів тому

    This is the easiest way to get banned by the company, good luck - I would ban you instantly from being hired as you usually sign some kind of nda by launching the tests. That is also a test - if you cannot keep company secrets... you're bad hire.

  • @NickPlaysR6
    @NickPlaysR6 6 днів тому

    1:39 bro your history. every day is a new day man! Much love

  • @matthewkk5087
    @matthewkk5087 7 днів тому

    where do u find that jobs? when I send it in linkedin some company says that im outside of their country :/

  • @better_dead_than_red
    @better_dead_than_red 7 днів тому

    Привет Great video, especially the back story >1:45 Today I'll be sober >4:35 Cut off the girl from the photo, left only yourself

  • @d1ckyj0nes
    @d1ckyj0nes 7 днів тому

    Gotta make it easy as to not discriminate Pajeet

  • @yousefsameh4622
    @yousefsameh4622 7 днів тому

    Keep the great work! I was wandering if you used DP in Q2 as I can see that the code is a simple backtrack without DP!

  • @szymoniak75
    @szymoniak75 8 днів тому

    Never understood the point of this type of questions but to each his own I guess. I always give more realistic tasks on interviews.

    • @Krapciuch
      @Krapciuch 6 днів тому

      they are stupid crap us companies think get them the best talent - while it gets them the ones just used courses or chat gpt or some book to learn how to pass the tests... us companies thinks otherwise ;) they aren't the most intelligent bunch, just have a a lot of money and power ;)

    • @carguy-xv2cl
      @carguy-xv2cl 4 дні тому

      They can be realistic if your working on more low level stuff or libraries where performance is critical.

    • @szymoniak75
      @szymoniak75 4 дні тому

      @@carguy-xv2cl No, not really. Proper algorithms and data structures are always important, but that's not the only thing that matters for performance. And still these tasks are made up problems that you'll probably never encounter when writing real code

    • @carguy-xv2cl
      @carguy-xv2cl 3 дні тому

      @@szymoniak75 I agree for web dev.

  • @lazyman2451
    @lazyman2451 9 днів тому

    bro you just solved one of their biggest bugs in their system. 😂

  • @Vinicius-go6wh
    @Vinicius-go6wh 10 днів тому

    Both programing problems are sort of classic dynamic programming with a little twist. Good questions.

  • @0xc0ffee_
    @0xc0ffee_ 11 днів тому

    You should have been rejected and reported just because you shared the challenge online

    • @gerritlikestohike
      @gerritlikestohike 9 днів тому

      Why so serious?

    • @0xc0ffee_
      @0xc0ffee_ 9 днів тому

      @ he violated the trust agreement with the company, why would you ever hire someone like this?

    • @gerritlikestohike
      @gerritlikestohike 8 днів тому

      @@0xc0ffee_ He didnt want to work for Tesla. So where is the damage and whom do you want him to report to?

    • @0xc0ffee_
      @0xc0ffee_ 8 днів тому

      @@gerritlikestohike The damage is the question has been exposed to the internet and they can no longer use it for interviewing people. Furthemore if he doesn't want to work there he wasted the hiring people's time. I find this behaviour honestly disgusting

    • @tommyflynn466
      @tommyflynn466 7 днів тому

      0xc0ffee_ employers waste far more applicant time than visa versa. who cares about the feelings of a soulless HR employee who will put you through 5 rounds of interviews when they already preselected a candidate, then ghost you after instead of telling you that you were rejected. people should intentionally try and make the lives of HR employees hell.

  • @aligcsy7256
    @aligcsy7256 11 днів тому

    my goat

  • @e.denrico
    @e.denrico 11 днів тому

    One day, I hope to be as good as you are.

  • @akhildesaii
    @akhildesaii 12 днів тому

    For #1 you could use a heap, and since it is only 3 elements we could maintain 3 heaps. Each iteration we pop off each heap, O(3logn), if the minimum is the same as the previous day out of what we popped from the 3 heaps compare the other 2 elements popped and choose the minimum. Add back to the respective heaps whatever element we didn't choose. The complexity would be O(nlogn)!

    • @abdurrehman6597
      @abdurrehman6597 10 днів тому

      there is a O(n) dp solution tho

    • @Vinicius-go6wh
      @Vinicius-go6wh 10 днів тому

      @@abdurrehman6597 I don't understand how this would work since you cannot go back and buy a shirt froma previous day, they need to be chosen optimally

    • @mrgenetics4063
      @mrgenetics4063 8 днів тому

      Thanks Mr. Quick-E mart guy

    • @jadedplover1851
      @jadedplover1851 6 днів тому

      this would not work as it doesn't account for consecutive sales any more for example consider if the two lowest blue shirt sales were back to back, this would mean that either we would eventually end up choosing two consecutive days, OR only one blue shirt could ever be chosen to get this solution to work you would need to store the positions of each shirt alongside the sale price and then swap shirts out into another set of 3 heaps (6 heaps total) and consider all 9 possibilities (3 choices x 3 swaps) and find the minimum, it would work but it would be nlog(9)n worst case, not to mention the overhead of setting up and maintaining heaps in my experience has always been a hefty task and tends to lose to simpler sorting or dp solutions because of it in practical senses heaps only really beat other solutions (even sometimes worse bigOh solutions) in scenarios where the problem input is stateful, in other words where the input changes over runtime and since heaps are persistent in their calculation they tend to have an edge over non persistent solutions

  • @resresres1
    @resresres1 13 днів тому

    i didn't watch the whole thing, but it's funny how the 2nd tutorial question can be solved with a single line in python: closest_to_zero = min(numbers, key=lambda x: (abs(x), -x)) if numbers else 0 Also, with the SQL queries... AI is actually exceedingly good with creating SQL queries if you give it the exact parameters you need... surprised those type of questions still exist because of AI.

    • @tubaeseries5705
      @tubaeseries5705 12 днів тому

      it can also be solved with a single line in c# ts.Where(x => Math.Abs(x) == Math.Abs(ts.MinBy(y => Math.Abs(y)))).DefaultIfEmpty().Max();

  • @Vuden13
    @Vuden13 14 днів тому

    Can please do more of these technical interview type videos!?

  • @Proooo1
    @Proooo1 15 днів тому

    public int MinValue(List<int> values) { if (values == null || values.Count == 0) return 0; var minValue = values.Min(Math.Abs); return values.Contains(minValue) ? minValue : -minValue; }

    • @Lot1one1x
      @Lot1one1x 5 днів тому

      this traverses the array twice

  • @deepanshu6751
    @deepanshu6751 17 днів тому

    Ok the Last question or it was the First question was very simple if you just went through the loop and each time you find the minimum of the three you make the next element in that array as INT_MAX so everytime you would consider the minimum from the other two for the next day and just repeat it till the end.

    • @elmigranto
      @elmigranto 15 днів тому

      That’s a neat idea!

    • @abdullahcg9679
      @abdullahcg9679 14 днів тому

      I think greedy doesnt work here Case: B[99,1] R[100,100] G[100,100] Correct solution is to do dp

    • @abdurrehman6597
      @abdurrehman6597 10 днів тому

      nope that would fail

  • @AustinDoesDesign
    @AustinDoesDesign 17 днів тому

    I wouldn’t contribute anything to Elon musk

    • @swagatadhara4257
      @swagatadhara4257 14 днів тому

      sure!😂

    • @szymoniak75
      @szymoniak75 8 днів тому

      for enough money you'd suck his toes

    • @AhshsHahshs
      @AhshsHahshs 7 днів тому

      Contribute to bill g and soros then subservient

    • @MangyPL
      @MangyPL 3 дні тому

      @@AhshsHahshs Youre a turd if you think Elon is much better than gates or Soros. None of them have the best interest of the people in mind.

  • @stevenmendez907
    @stevenmendez907 18 днів тому

    how did you apply? Where do they post their positions?

    • @elmigranto
      @elmigranto 17 днів тому

      @@stevenmendez907 search for Tesla careers :)

  • @VLONE-g5l
    @VLONE-g5l 18 днів тому

    thats nice but stop pasting

  • @the10xdev
    @the10xdev 18 днів тому

    12 mins for the SQL question? Damn.

  • @Apoz
    @Apoz 21 день тому

    Might be a bit of an off-topic, but I noticed you're often halted without thinking. Many of those halts are caused by the lack of your mouse accuracy in addition to your slow type speed. They seem to delay you a lot. I think once you improve that, find a good mouse and dpi settings and perhaps revisit your key typing manners, you will have a lot more time to relax during coding. We call it "Idle strain", idle time that costs energy while being unproductive.

  • @mrbro9675
    @mrbro9675 21 день тому

    That's it? I could probably do all of it and I am just in high school

    • @mrbro9675
      @mrbro9675 21 день тому

      this is literally just twice as hard as an average ending exam in Poland. Americans, no wonder why you can't get a job in IT anymore.

    • @mrbro9675
      @mrbro9675 21 день тому

      I could do BTree with java when I wasn't even in highschool yet

    • @feew3454
      @feew3454 20 днів тому

      @@mrbro9675 And we do that on A4 piece of paper ;)

    • @nevillemathew6521
      @nevillemathew6521 19 днів тому

      You know it's just the beginning rounds right? For sure gets harder each round.

    • @symbol767
      @symbol767 13 днів тому

      @@mrbro9675 You one of those lame dorky kids online who likes to flex "When I was a preschooler I was solving binary tree questions for fun teehee 🤓🤓🤓" Man shut up...

  • @gianmarcopicarella7390
    @gianmarcopicarella7390 23 дні тому

    Nowadays passing the cv screening is already kinda difficult. It would be interesting to see how you structured your cv!

    • @elmigranto
      @elmigranto 23 дні тому

      Love this idea for a video! Before I make that: besides experience, I had couple of short paragraphs per topic. Topics were: my work personality, what I am good at, kind of company I look for and what I think is the best team structure.

  • @dweblinveltz5035
    @dweblinveltz5035 24 дні тому

    The last question is a good example of not giving adequate time to understanding the question. At first I thought it was matrix traversal type question, but since for each day there are only three options (and one is excluded based upon the previous day), I don't think it needs more than one simple loop, but I haven't fully worked it out past this hunch.

    • @jadedplover1851
      @jadedplover1851 6 днів тому

      it's actually a lot simpler than it seems, I found it much easier than the second question, the trick is realising that the options are either, min green/blue + if red shirt was bought today, min blue/red + if green shirt was brought today and min red/green + if blue shirt was brought today, that way you don't even need to track anything other than 3 values in each iteration giving you constant space and linear time comp, you just recalculate those 3 values each iteration and take the min in the final iteration (I probably explained it really badly but yeah, 3 options each day based on 2 of the previously stored options each)

    • @sljones281
      @sljones281 2 дні тому

      ​@@jadedplover1851 Picking the min on a given day doesn't guarantee getting the best answer. r = [1, 1], g = [2, 100], b = [2, 100] Choosing r on day 1 yields 101. Choosing g or b yields 3.

  • @XwO-mk
    @XwO-mk 24 дні тому

    min on temp to 0 with -5 and 5 expecting 5, you do minby(0) would return 2 numbers, so if you checked minby result >1, you just return abs(of [0] element which would always guarantee a positive of the two.

    • @Krapciuch
      @Krapciuch 6 днів тому

      it truly doesn't matter - because if anything is absolute closer to zero just return that number - it's a trap question it doesn't matter if something negative was the same

    • @hotdogs95
      @hotdogs95 3 дні тому

      @@Krapciuch cant we just get the smallest absolute value within the array and then check if that value is in the original array? if it is then return that number if not return a negative version of that number

  • @sheesh6118
    @sheesh6118 24 дні тому

    Love your content, keep posting <3

    • @Ewakaa
      @Ewakaa 10 днів тому

      Keep posting? We are praying for Bro not to get sued

  • @stanislavmilchev3054
    @stanislavmilchev3054 24 дні тому

    you aren't even allowed to use vim for this + cringe company -- skip

    • @tear728
      @tear728 22 дні тому

      Big mad at Elon buying X still?

  • @fqidz
    @fqidz 24 дні тому

    i hope you dont get sued

  • @Kyleplays1
    @Kyleplays1 24 дні тому

    W😮

  • @ZoneVipHacking
    @ZoneVipHacking 25 днів тому

    Tesla questions are too much easy as it looks and u probably failed, may need try learn more about coding

    • @elmigranto
      @elmigranto 25 днів тому

      @@ZoneVipHacking yea, always more to learn!

    • @symbol767
      @symbol767 13 днів тому

      These questions have nothing to do with real coding. If you think they do, you need to learn more about coding. Before you try me I'm a software engineer at amazon 2 years in so far... I have not once used any of these type of coding problems to do my day to day job... its all trivia nonsense to pass the interviews for these companies...

  • @channelname437
    @channelname437 25 днів тому

    thank you for sharing this - I watched the whole vid as if I were the taking the test xd

  • @miki_the_little198
    @miki_the_little198 26 днів тому

    these problems are way easier than I expected, I was expecting some hardcore dynamic programming or graph coloring

    • @banchanbet4524
      @banchanbet4524 18 днів тому

      its not competitive programming :v

    • @symbol767
      @symbol767 13 днів тому

      @@banchanbet4524 exactly and any company asking those level of questions are morons... I've been at amazon as a software engineer for 2 years and never once used any of this nonsense I had to do on my interview in the day to day work... its useless and never used, hence why people forget most of it and have to re-study when they need to interview again

    • @ujjwalshrivastava3594
      @ujjwalshrivastava3594 12 днів тому

      ​@@symbol767is recursion and backtracking used daily in devlopment

    • @yigithanyigit1984
      @yigithanyigit1984 11 днів тому

      @@symbol767So they didn’t asked you such “hard” questions like that? Everyone tells opposite

    • @phantom_rift
      @phantom_rift 11 днів тому

      agreed, although i do think that the second problem is def tricky if u havent studied knapsack kudos to aleksei for seeing the pattern, just needed the extra dimension!

  • @ioannisp5725
    @ioannisp5725 26 днів тому

    jesus i aint ever getting a job ahaha

    • @elmigranto
      @elmigranto 25 днів тому

      @@ioannisp5725 not with this attitude :)

  • @jon-l4v
    @jon-l4v 26 днів тому

    did you get this job? 😮😊

    • @elmigranto
      @elmigranto 25 днів тому

      @@jon-l4v I declined an invitation to the next round.

    • @ibrahimabusada2598
      @ibrahimabusada2598 18 днів тому

      @@elmigranto why?? :(

    • @elmigranto
      @elmigranto 18 днів тому

      @@ibrahimabusada2598 i don't want to work at Tesla, but I was curious if I can get into the door :)

    • @gerritlikestohike
      @gerritlikestohike 9 днів тому

      @@elmigranto Legend! And all those spammers, that claim how easy those problems are, are crying in rage :)

  • @macre8389
    @macre8389 28 днів тому

    The problems were not that hard to be honest.

  • @sandmasterful
    @sandmasterful Місяць тому

    What position/level did u apply for?

    • @dvmso6099
      @dvmso6099 28 днів тому

      janitor

    • @bi0Seeker-x1w
      @bi0Seeker-x1w 28 днів тому

      @@dvmso6099 bro i almost spat out my coffee

    • @elmigranto
      @elmigranto 27 днів тому

      @@sandmasterful senior backend

    • @ru2979
      @ru2979 26 днів тому

      @@dvmso6099 LMFAO

    • @lightspeed-xm4mc
      @lightspeed-xm4mc 26 днів тому

      ​you think you are better than him...why the F are u saying LMAO...u stpd bich

  • @h0td0g
    @h0td0g Місяць тому

    man, you are really smart to do this just off the bat like this. I just did an assessment for an internal transfer and had 2 somewhat easy only to choke. i never felt so dumb and stupid.

  • @otitologos
    @otitologos Місяць тому

    Were you required to do it C#

    • @elmigranto
      @elmigranto Місяць тому

      For this position, yes.

  • @michaelsondei4695
    @michaelsondei4695 Місяць тому

    you are hella dumb mate

  • @dizphunkt
    @dizphunkt Місяць тому

    "this get's me fired later .." :)