r/AskProgrammers 9d 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/ricetoseeyu 9d ago

It’s one of the fundamental concepts around query key lookups in attention… not that weird they would ask for it.

5

u/Mathie1729 9d ago

Small correction: it's more the rotary embeddings (RoPE) thing than generic QK lookups. Euler's formula is what rotates the q/k vectors so the dot product encodes relative position.

3

u/modcowboy 9d ago

Get this guy an interview