Title
Ask the interviewer.
This is the right answer. It’s also on a case-by-case basis: I freely let people invent magic APIs that don’t even exist anyway if they’re not core to the question at hand.
Yes, if you're familiar with those it's +1 for me.
Just ask. Surely it's not a crime to be more familiar with your language of choice.
Collections yes because they're so common esp defaultdict, but not itertools. If you make an error, it night screw you if interviewer doesn't know itertools
Ask the interviewer, when I ask to use collections, they commonly say yes
As you can see from the answers, there are some interviewers who would like it, and some who wouldn't. Best thing to do is ask them in the interview.
Ask Blinders
Yesterday
1136
Tipping culture is really getting out of control! Waiter gave me ‘a look’ because I tipped her 10% for ‘BAD service!’
Tech Industry
3h
584
I wish I were East Asian instead of Vietnamese (Southeast Asian)
Tech Industry
Yesterday
3451
ByteDance is officially fucked
Tech Industry
4h
1602
Avoid teams with only Chinese or Indians especially with a Chinese/Indian manager
Tech Industry
Yesterday
2366
TESLA UP 14% AFTER HOURS 🎉🎉🎉🎉
Nope. I don’t allow any “magic” libraries and rarely allow anything that is not included in the core of the language of your choice
Except itertools and collections are in the standard library. So long as they can use it effectively, isn't that more interesting than whether they can rewrite it?
@amazon why? Do you not use any libraries outside core libs in your current work?