Major algorithms asked during Interviews.

Major algorithms asked during Interviews.


Here I am going to mention the list of major algorithms asked during Interviews. You can find the list as below. Major algorithms asked during Interviews. Graph 1. Breadth First Search (BFS) 2. Depth First Search (DFS) 3. Shortest Path from source to all vertices **Dijkstra** 4. Shortest Path from every vertex to every other

Increasing performance of your python code: For vs Map

Python: Increasing performance of your code: For vs Map


In this performance of programming language article we are going to talk about some small tips which will help you in Increasing performance of your python code. Lookup for function is costly. Lets say we have to write a loop which will run till the length and calls upper on each string. alist = [‘a’,’b’,’c’] for item