Once upon a time I interviewed for a role in NYC. An employee that I spoke to said they paid pretty well, and I could expect about 120. The HR person wanted my previous salary, and I refused. Eventually they said their range was 130-150. I said it wasn't gonna work cause I was looking for something more like 220. They said okay we can do that no problem. My previous salary was 110.
Luckily they gave 3 numbers first, so you avoided a trap many people fall into on both sides of the table - not negotiating at all.
Imagine the first thing a company says after an interview is "what's your number" and you shrug and say "100," and the company reps blink and go "no problem," then pass you an offer. Wouldn't you feel a little skeeved? "I bet I could've gotten more," you'd think. You'd be right. Companies can feel that same feeling.
A bit of back and forth is healthy. It makes both parties feel like they struggled and finally settled on a number that is fair for both (whether or not that number could have been higher or lower). That's why I always recommended bootcamp grads to push back on an initial offer. Always. Worse case the company says "no, this is the limit." Best case, you get more money, the company feels like you were a little bit harder to get and thus more valuable, etc.