[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 103 KB, 680x478, 8C0502F4-94FE-4912-B401-B40D5BA1CACF.jpg [View same] [iqdb] [saucenao] [google]
14727479 No.14727479 [Reply] [Original]

Hey /biz/ I’m teaching myself to code and then I’m gonna start applying for jobs at tech companies in about 3-6 months.

What questions do these nerds usually ask you during interviews?

>> No.14727494

>>14727479
data structures and algorithms

>> No.14727723

>>14727494
tech interviews are completely broken at most companies. they ask you dumb shit that you'd know if you're a college grad and recently studied. shit like "what are the 4 pillars of OO programming." I'm a senior level developer and had no idea CAUSE THIS IS A GOD DAMN TEXT BOOK QUESTION AND NOT SOMETHING THAT WAS WORTH RETAINING!

after the bullshit grilling, they will ask you questions to test your algorithm chops. something like "write a function to guide a car from point A and point B that navigates around obstacles in three lanes of traffic and guarantees the least amount of merges possible."
I like the puzzles to be honest so long as they aren't timed and aren't on a white board. the test questions are always bullshit though.

>> No.14727757

large companies always have the most bullshit hiring practices in place. It's someones job to interview and come up with programming tests and puzzles at these places. small company interviews are always way more relaxed and candid cause nobody has time for that shit on small teams.

>> No.14727760

>>14727479
write a program that counts from 1 to 100,
replace multiples of 5 with fizz
replace multiples of 10 with buzz
replace multiples of 5 and 10 with fizzbuzz

>> No.14727772

You're a retard.

>> No.14727793

>>14727479
fizzbuzz

>> No.14727794

>>14727479
who your dad is, and are you jewish?

>> No.14727807

>>14727760
nobody ever asks that, cause that's what google says is a common question. I've never been asked to write fizzbuzz in an interview.

>> No.14727843

>>14727479
ok real talk, inexperienced retards don't get interviews, so if you don't know how the interviews work, you won't be getting interviews

>> No.14727898

last piece of advice: practice puzzles on hacker rank if you're nervous, cause a lot of companies these days just have you log into hacker rank to complete the test portion of the interview. I fucking hate hacker rank tests, but it's what to expect. the timer is way too aggressive on most tasks.

>> No.14727902

>>14727760
isn't the question usually 3 and 5?
because in your statement every 10 will be fizzbuzz and never buzz, because every multiple of 10 is also a multiple of 5 by default

>> No.14727910

>>14727794

No. But I’m sure I’ll be able to at least get a coding monkey job at a small startup.

>> No.14727958

>>14727807
Then you get people who can't use if statements, loops or modulo operator.
>>14727902
Holy shit dude it's not a cooking recipe, it doesn't matter if it would never say buzz, just do what the question asks and don't be a brainlet

>> No.14728059

>>14727958
yeah, cause fizzbuzz is the only way to test for that....
the question I posted above about an algorithm to navigating traffic is legit something I was asked to write in an interview. fizzbuzz, never.

>> No.14728085

also, modulo operator is pretty much useless. I can't recall ever having used it in the wild desu.

>> No.14728092

>>14727958
for(let i=1; i<=100; i++)
console.log(i % 10 == 0 ? 'fizzbuzz' : (i % 5 == 0 ? 'fizz' : i));

I have to admit I had to run it twice before it worked as intended
I guess that's why they ask it, if you start from the lower number, it could skip the higher check. Probably works better if you make a newline separately in the end of the loop, can skip the combined check altogether, as fizz and buzz will be printed on their own.

>> No.14728103

larger companies: algorithms, data structures (generally)

for small/med-small companies, you'll usually be asked domain knowledge on whatever tech stack/framework that they're currently using, just because they want someone who's going to be productive ASAP. larger companies can usually place you somewhere in their structure so the questions tend to be more language and framework agnostic.

leetcode and hackerrank are good resources for getting used to the types of questions. to really practice coding and phone interviews, interviewing.io is a good resource.

good luck anon

>> No.14728119

>>14727760
sounds easy as fuck

>> No.14728126

>>14727760
What the fuck. I started learning python myself just for fun two weeks ago and could do that. The codemonkey meme is real.

>> No.14728167

>>14727479

also, pretty much every company will screen you out with some joke/easy questions at the onset just to make sure nobody is wasting their time. you're expected to answer these types of question quickly and concisely. fizzbuzz is an example, another would be something like: write a function that takes in a string that outputs true if the string is a palindrome and false otherwise. stumbling on the easy step pretty much kisses your chances goodbye for the whole interview.

>> No.14728205

>>14727479
I've had shit like
>given a sentence find the word that's repeated the most and how many times
>check if a word/sentence is palindrome
>compare if 2 sentences have the same amount of words and match the type of letter
>describe to me 3 design patterns and their use
>general syntax of w/e language youre applying to

Also this guy >>14727723 knows whats up

>> No.14728340

>>14727723
cope

>> No.14728594

>>14728340
kek. I learned OOP from a text book almost 10 years ago and have been programming ever since. if I don't know the answer to a text book question, it means they are asking the wrong thing. being able to recite the 4 pillars of OOP as a senior level dev is not an accurate measure of ones skill set.

>> No.14728648

>>14727793
does he know what a modulus operator is?

>> No.14728696
File: 8 KB, 205x246, 50DC1D5B-CBAE-4B57-B70A-8334FCE1D049.png [View same] [iqdb] [saucenao] [google]
14728696

>>14728167
>>14727902
>>14727723
>>14727760

Fuck, I don’t even know how to answer these questions. I’m not gonna make it, am I bros?

>> No.14728725

>>14728696
you'll be applying for junior level positions. it's already assumed you don't know shit. just talk up your ability to learn fast with minimal supervision and you'll be alright.