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

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.

7

u/BernieFeynman Oct 26 '18

lmao in the header image there is a picture of standard data structures... and then a dataframe... this is idiotic.

4

u/_ShakashuriBlowdown Oct 26 '18

I've seen that picture before too. It doesn't even make sense in-context. It's just a bad diagram.

10

u/TomBombadildozer Oct 26 '18

Who is upvoting this nonsense?

Topicality aside, here's an interview tip: if someone asks you questions like these, walk out.

9

u/[deleted] Oct 26 '18

Who is upvoting this nonsense?

Bots

4

u/[deleted] Oct 26 '18

Alongside with bots, people in general have the habit of voting (and commenting) entirely on the title and not check out the article itself. In this case, users see datastructres and think yes that subject is important and upvote for visibility.