Articles for author: Agam Jyot Singh

Reverse Words in a String

In this problem “Reverse words in a String”, we are given an input string s. We need to reverse the order of the words and return a string of the words in reverse order. Takeaways In this article we will learn how to reverse words in a string using different approach. Example Input : Output : Example ...

B+ Tree

A B+ Tree is simply an extended version of a B Tree, in which the values or pointers are stored at the leaf node level, making the various operations on it relatively easier. The root node has a minimum of two children. Each node except root can have a maximum of m children and a ...

Agam Jyot Singh

Hot Standby Router Protocol

The Hot Standby Router Protocol (HSRP) makes sure that when access circuits or network edge devices have first-hop failures, user traffic is instantly and transparently restored. With HSRP, you can set up two or more routers as standby routers and just one router as active at once. The Hot Standby Router Protocol (HSRP) allows devices ...

Agam Jyot Singh

Difference between Circuit Switching and Packet Switching

Circuit switching is a type of network configuration in which a physical path is acquired and set aside specifically for the purpose of connecting two endpoints in a network for the duration of a dedicated connection. Circuit switching is employed by typical voice phone services. Using different network devices, Packet switching divides data into smaller units called packets or blocks and transmits them across ...

Agam Jyot Singh

Intradomain and Interdomain Routing

Routing is the process of choosing a path for transferring data from a source to a destination. Routing is performed using devices called routers. In order to send the packet by determining the best route from one network to another, routing is carried out at the network layer. The network layer primarily makes sure that ...