Algorithms

Close-up of two individuals holding hands bound by chains, symbolizing connections and relationships.

What is linked list? — Linked list is also an data structure like any other data structure.— It is composed of Nodes. So, what is Node?— Node is an container which contains data & an pointer named next which contains the address of next Node.— First Node is called as head & last Node is

Linked list Read More »

3D render abstract digital visualization depicting neural networks and AI technology.

A graph is nothing but nodes connected through edges. Graph is about defyning relation between things. For example, nodes here are cities & edges would be roads connecting cities. Another example is : nodes here are cources & edges represent the prerequisites.Graph could be of directed / undirected. What does that say?For example; in case

Graph Read More »

Close-up of hands holding vibrant yellow daisies, showcasing natural beauty and floral pattern.

What is Recursion? The term recursion is used with respective to function. So, when an function calls her self once again, that is called as recursion.Any recursive function consists of 2 parts of code. 1. Base case2. Recursive step. Let’s understand recrursive function with an simple example of counting the numbers starting from given number until the

Recursion Read More »