Algorithms: Mirror a Binary tree using python

Algorithms: Mirror a Binary tree using python


In this article we are going to see how we can mirror a binary tree using python. Lets see what are binary tree Algorithms: Mirror a Binary tree using python  Binary tree are the tree where one node can have only two child and cannot have more than two. Traversal means visiting all the nodes

Algorithms: Coding a linked list in python

Algorithms: Coding a linked list in python


So next in the algorithm section we are going to write a linked list using python. If you don’t know what is linked list you can read it here. Algorithms: Coding a linked list in python A linked list is a linear collection of data elements, called nodes, each pointing to the next node by

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

Creating Linux alias to enable you work faster.

Creating Linux alias to enable you work faster.


Linux is a very powerful Operating system and it has many flavors. Its always your choice which one to use but making them work faster and according to your need is something you will need. Here we will talk about alias and write a simple alias file to help you be more productive.Lets see how

What happens when you type a url in browser

What happens when you type a url in browser


Ever wondered What happens when you type a url in browser. Let us see what happens and in what manner. What happens when you type a url in browser You type an URL into address bar in your preferred browser. The browser parses the URL to find the protocol, host, port, and path. It forms