0 votes
1 view
ago in Python by (34.6k points)

Can anyone tell me which language should I learn to implement data structures for google interview?

1 Answer

0 votes
ago by (72.3k points)

I think Python is a really good language to implement data structures. It’s simple, easy to understand, fairly expressive, and many learned it. I have had issues where interviewers asked me not to use built-in methods and data structures to solve certain interview questions, but for the most part, it greatly speeds up solutions. As a fairly regular interviewer myself, I don’t really gain anything from watching someone deal with more ungainly hash map APIs in languages like Java.

That said, you might want to have another popular language or two in your back pocket. I’ve been asked during an interview to use Java instead of Python. No one really cares if you get the syntax exactly right in that situation, so it’s fine as long as you’re somewhat familiar with it.

For most frequently asked Data Structure questions in Interviews with the best explanations, check out this Data Structures Interview Questions blog by Intellipaat.

Also, you can watch this video on Data Structure Interview Questions:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !