Suggest python tag. If you aren’t familiar with some of the standard methods and quirks of Python, you’re going to get dinged for a few points right off the bat.
Yeah, in particular the reference semantics are not the same as C++. (unless my brain is confused this morning)
There’s so many “gotcha!”-style interview questions here.