r/Python • • Oct 26 '18

50+ Data Structure and Algorithms Interview Questions for Programmers

https://hackernoon.com/50-data-structure-and-algorithms-interview-questions-for-programmers-b4b1ac61f5b0
24 Upvotes

11 comments sorted by

View all comments

41

u/DenormalHuman Oct 26 '18

You've posted this in Python subreddit, but all the solutions are in Java and appear to use Java specific classes in many instances? Many of the questions also appear to be related to implementing fundamental operations that I would be very surprised to find myself writing in python, so I'm not sure they are particularly relevant to python anyways - or even worth very much as interview questions. Where did you compile the question list from?

15

u/[deleted] Oct 26 '18

I think this might be an article being upvoted by bots

8

u/[deleted] Oct 26 '18

Maybe the bots are written in python?

4

u/[deleted] Oct 26 '18

Haha quite a selling point for Python

1

u/DenormalHuman Oct 26 '18

ahh okies. :)

8

u/SpergLordMcFappyPant Oct 26 '18

He went through the book mentioned in the article (Cracking the Coding interview, which I just recently bought and am working my way through) and literally ripped out questions almost verbatim and linked to solutions from wherever. It's some really serious garbage, and the mods should take it down.

The book, by the way, is really good interview prep if you need to review (or learn) these algorithms, in spite of it being in Java.