I use python as my choice of language for interviewing. To prepare, I am Leetcoding right now, and am at an early stage. (50+ LCs). However, I am coming across problems now, which would benefit from TreeMap / TreeSet / Multiset. Things like insertion sort, with amortized O(log n) insertions are also not possible in python using the stdlib. I am wondering if this makes python a bad choice of a language, and how crippling this handicap is? Or do interviewers don't ask questions related to such Data Structures to python programmers? #leetcode
When I go into an interview I already have the questions decided independent of the language the interviewee chooses to implement in. Having said that, most of the questions I ask can be solved by any developer that knows the language they are coding in well and can break the solution down sufficiently well. With me the only downside to interviewing in python is that most of our code is in Java and I think it's better to interview in the dominant language of the company you are targetting.
If a candidate tells me they are using a fancy data structure from a specific language in order to skip the core of the question, I kindly ask them to implement the structure instead.
TreeMap/TreeSet = list + heapq + map I’d hate to have to implement it during an interview though
In whiteboard interviews you can just handwave it If you have to actually fully code the solution, learn how to write a treap or some other easy BST
Tech Industry
5h
8788
WTF: Apple removing signal, telegram, threads and whatsapp from Appstore for China?
AMA
1h
981
Single engineer (Female) AMA!
AMA
Yesterday
1219
Indian Gay Guy AMA
Tech Industry
Yesterday
874
Chances of meta clearing E5 with screwing up one coding one round and acing all other
Tech Industry
2d
55289
Goog Employees Arrested
While the language doesn't matter, I would recommend picking something like Java. Python is great but just doesn't really have all these data structures and similar issues which other languages have.