Hey, welcomebacktocoffeetimewiththeirhost, exGoogleexFacebooktackleitAndtheyoccurtomethat I neverreallyexplainedhow I gotmyjobatFacebookas a staffsoftwareengineermaking $500,000 peryeartoday.
I thought I wouldtellyouabouthowthatinterviewprocesswent.
I landedthisofferaboutoneand 1/2 yearsagowhen I wasworkingoveratGoogleasattacklead.
I mightremindyoubeforeallthedramaaboutmywifeleavingmehappenedbefore I becameunemployableforpassionFacebook.
Butthismaybe a paththatyouwouldliketopursueaswellatsomepointinyourfuture.
Itwouldotherwisebelikesayingstudents s a Harvardsomehowhavesomesecretbitofinformationthatisnonpublic, andthentheyonlytellthatinformationtotheirfriendsandtheironlythosepeopleareabletogetintoHarvard, and I feelthatthisinformationdisparityisnotfair.
Essentially, justdo a durationusing a carryovervariablethatcanbedonethelineartime, constantspaceandweakover a questionsimilartothisovernowgopro, exceptthatthey'relinkedlessinstead.
Theoptimalalgorithmwouldusenospace, anditwouldbelineartimejustdotheentiresortinoneiterationonepast I remembertheoriginalapproach I didwasfirst.
I had a bucketofsmallitemsandthenmediumandlargeitemscombined, and I wouldfirstgothroughinonepassandmoveallthesmallitemstothebeginningandthengothrough a secondpast.
I moveallthelargeitemstotheendandjustsortthemediumandlargeitems.
Sothisisactually a topassalgorithm, sothatcoversthecodingandallsoftwareengineersJuniorthirdseniorneedsinthecoding.
You'regoingtobesmokedonthisnomatterwhatlevelyou'reat, we'rejust y.
It's importanttokeepyourskillssharpwithalgoprodotcomNowthetwosystemsdesignedquestions I gotwerebothprettysimilar, andit's totallygoingtodependontheareathatyou'reinrightforme.
I'm onIOSMobiledeveloper.
SoitwasaboutbuildingtheIOSup.
Specifically, itwasnumberonedesign, a flightbookingapp, andnumbertwodesigned a simpleversionofInstagram.
Youmayhave a paymentsteamedashandlingthepaymentviewforbuyingtheairplaneticket, butthenyouhaveanotherteamdoeshandlingsearch, andthenanotherteamthathandlesdisplayndeElissaflightsandislike, Howdoyoustructuretheapplicationinthewaysuchthatallofthesecanbeindependentofoneanother, andyetthey'reabletofunctiontogether.
Andhere I wouldtalkabouthavingdifferenteventhandlersseparatingmodulesoutsuchthatthey'renotdependentupononeanotherandcomingupwiththatmoderatedependencygraph.
And I hadtosortofbackstep.
They'retakingtheirfeetbackandduringtheinterviewactuallyrealizeduneven, betterarchitecturalsolutionthatwehadthemfiguredoutoverGooglethatFacebookhadbeenimplementing, andtheyprobablyjustappreciateitthat I wasabletocollaboratewiththemtosolvethatrightthere.
I thinkwhatreallyhelpedme, though, wasreallybeingmoreinterestedinotherpartsoftheKobe's ratherthanwhatever.
I havebeenthesignedright.
Likeusually, peoplearesenttoworkononesmallfeature, andtheynevertake a stepbackandlookathowthey'refeature, interactswitheverythingelseandgetoverviewoftheentirecodebasethatthey'reworkingon.
Ifyoucantake a stepbackandtake a lookatthat, thatcouldprepareyouwellforanysystemsdesigninterviewthatmaybecomingyourwayatsomepoint, maybenoworinthefuture.
AndyougivesomeshallowanswerlikeOhyeah, workingwiththispersonandthenovercamethischallenge, theyknowthatthatfirstanswerit's probablylike a B s answerthatyouhaveprepared, sotheyreallydigdeep, andthisiswhereithelpstoreallyhavegoodexamples.
I prepared a numberofstoriesmyselfaboutdealingwithconflict, toughsituationsatwork, And I thinkthatforthisareaalsohelpstojusthavesomegoodconcreteexamples, whichisanotherreasonthatinwhateverroleyou'rein, itstillhelpstobepushingyourself, challengingyourselftodomoresuchthatitcouldbesomethingyoucantalkaboutasyou'reinterviewingforyourfutureroles.
Sotherehave I rememberleavingtheinterviewfeelingquitepositiveaboutit, andthentwoweekslater I willreceivetheoffer $500,000 salary.
Andtherewasstillkindof a harddecisionformetoleaveGoogletotakeuptheofferbecause I wasquitecomfortableoverGoogle.
Infact, I felt I wasprobablygetting a littlebittoocomfortablejustsittingback.
Didyouhavelearning a wholenewKobe's newtechnologies?
Itjustseemedreallyexcitingtomeatthetime, so I madethatswitchturnedoutlatertobeoneofthebiggestmistakesofmylife.
ButThat's anotherstory.
Sothatthereformeitwas a littlebitmoreof a technicalvideo.
But I gottakeepmystreetcredupasthetechlead.
Ifyoulikethevideo, givethelikeandsubscribe.
Andthatwasyounexttime.
Thanks.
Bye.
Hey, welcomebacktocoffeetimewiththeirhost, exGoogleexFacebooktackleitAndtheyoccurtomethat I neverreallyexplainedhow I gotmyjobatFacebookas a staffsoftwareengineermaking $500,000 peryeartoday.