HNHacker News
TopNewBestAskShowJobs

coder007

280 karma · joined February 18, 2017

submissionscomments
coder007··on Data Structures and Algorithms Problems
I know, just a class version of the C-array but std::vectors has lower performance. I believe that std::array or C array are good enough for problems with non-dynamic input.
coder007··on Data Structures and Algorithms Problems
So you prefer to use std::array over C arrays?
coder007··on Data Structures and Algorithms Problems
Here's refined list using STL if you like -

http://www.techiedelight.com/data-structures-and-algorithms-...

coder007··on Programming Languages Influence Network
This graph is based on influence relation data from the now defunct Freebase, which combined various data sources including Wikipedia. Gephi was used for the graph layout, node sizing and coloring and Sigma.js is used for rendering in the browser.

For the long version, see below article that is linked via the blue info button on top right. https://exploringdata.github.io/info/programming-languages-i...

coder007··on Graph Data Structure Interview Questions
On related topic (not necessarily graph):

DFS Interview Questions - http://www.techiedelight.com/dfs-interview-questions/

BFS Interview Questions - http://www.techiedelight.com/bfs-interview-questions/

coder007··on Graph Data Structure Interview Questions
>Does anyone really ask you to write this kind of code in interviews

Whoh!! All big IT companies ask these type of questions.. but mostly to graduate students and less experienced candidates.. but some companies might ask it to a 10 year old programmer as well..

coder007··on Best online video courses for Data Structures and Algorithms
MIT lectures are already mentioned in the end.. and from your link, one of the tutor is same (one with pony) and the content also looks the same..
coder007··on Study: Immigrants Founded 51% of U.S. Billion-Dollar Startups
To Read the Full Story, Subscribe or Sign In. No thanks!
coder007··on Quickselect Algorithm
They have mentioned Introselect which is a hybrid of quickselect and median of medians.
coder007··on Quickselect Algorithm
I have emailed them. post should be updated soon.
coder007··on Quickselect Algorithm
it doesn't return the index, rather the element itself..
coder007··on Quickselect Algorithm
here, numbering starts from 0 same as std::nth_element
coder007··on Data structures and algorithms problems in C++ using STL
it is clearly O(klogn). We are popping k times from a heap of size n.