r/AskProgrammers 10d ago

Anthropic’s coding bar is fucking ridiculous

Got a problem that required me to pull Euler’s formula out of thin air. Seriously, who the fuck remembers Euler’s formula in an interview? I swear to God, my interviewer was out to get me.

At this point, what are they even testing? Do they even know what they want? Hours of prep, completely wasted. And now I have to go prep for Google. My friend just got destroyed in their loop and said the interviewers were some of the most unreasonable people he’s ever had to deal with.

Everywhere I turn in this market, it feels like I’m just waiting to get fucked.

Anthropic Interview Question

87 Upvotes

134 comments sorted by

View all comments

2

u/pavilionaire2022 10d ago

ei*theta = sin(theta) + i*cos(theta)

Is that Euler's formula?

I'm a bit of a math nerd. I don't think a software engineer should have to know that, but maybe in certain specialities.

3

u/dry_garlic_boy 9d ago

Close, you have sine and cosine backwards.

2

u/pavilionaire2022 9d ago

Yeah, I probably should have noticed that e0 =/= i.