Bridges in a graph are the edges which when removed makes the graph disconnected. In case of an undirected graph, the definition remains the same, i.e. a bridge is an edge which when removed increases the number of connected components. ...

A graph is a data structure which is used to implement or store paired objects and their relationships with each other. It consists of two main components: Vertex/Nodes: These are used to represent the objects. E.g. Let us consider a ...

People always try to find out a way to keep the order of their things. And to achieve this they keep on playing with different data structures until they find the best one. In this blog, we will be talking ...

Introduction To Greedy Algorithms A greedy algorithm is an algorithmic paradigm that builds up a solution piece by piece, always choosing the next piece that offers the most immediate benefit. This means that the choices made are only locally optimal, ...