r/developersIndia • • Jun 09 '20

Resources How to Prepare for Software Engineering Interviews - Engineer Seeking FIRE

https://engineerseekingfire.com/how-to-prepare-for-software-engineering-interviews/
20 Upvotes

5 comments sorted by

2

u/BhupeshV Moderator Jun 09 '20

Not so sure about other things in this article but they didn't research well There IS heap in python Have a look at this : https://docs.python.org/3.6/library/heapq

import heapq
mylist = [120, -34, 0, 56, 444, 78]
heapq.nlargest(2, mylist)
# [444, 120]
heapq.nsmallest(3, mylist)
# [-34, 0, 56]

•

u/AutoModerator Jun 09 '20

Hello! Thanks for submitting to r/developersIndia. This is a reminder that We also have a Discord server where you can share your projects, ask for help or just have a nice chat, level up and unlock server perks!

Our Discord Server

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/enderman2104 Jun 09 '20

Url not found :/

1

u/[deleted] Jun 11 '20

Nice man , will follow your blog.