Someswar Pal has Published 59 Articles

Check if a graph constructed from an array based on given conditions consists of a cycle or not

Someswar Pal

Someswar Pal

Updated on 28-Jul-2023 11:34:05

104 Views

Introduction In graph theory, it is a very important task to figure out if a graph built from an array and meeting certain conditions has a cycle or not. A graph is an imaginary way to show how things are linked together. It is used in a lot of places, ... Read More

Successor Graphs

Someswar Pal

Someswar Pal

Updated on 28-Jul-2023 11:32:13

413 Views

Introduction A Successor Graph is a model of a directed graph in which each node stores a list of the nodes that come after it. Successor graphs are better than an adjacency matrix or list because they speed up access to outgoing edges. This makes them perfect for algorithms that ... Read More

Print matrix elements using DFS traversal

Someswar Pal

Someswar Pal

Updated on 28-Jul-2023 11:26:51

261 Views

Introduction Depth-First Search (DFS) is a graph traversal method that looks at vertices and edges by starting at a certain node and going as far as possible down each branch before going back.It looks at the "depth" of the graph, starting with the node that is the deepest and then ... Read More

Why Carbohydrates Are Important for Your Diet?

Someswar Pal

Someswar Pal

Updated on 24-Apr-2023 12:31:44

118 Views

Carbohydrates are one of the three most essential macronutrients required by the human body, along with proteins and fats. This macronutrient plays an important role in maintaining good health and providing the body with energy. Carbohydrates are a primary source of energy for the body, and without them, it gets ... Read More

CBD for Type 2 Diabetes: What Are the Benefits and Risks?

Someswar Pal

Someswar Pal

Updated on 24-Apr-2023 12:24:45

60 Views

CBD is a non-psychoactive compound found in cannabis plants. It comes with a range of health benefits. The use of cannabidiol (CBD) serves as a potential treatment for type 2 diabetes. This area of research has garnered a lot of interest among medical experts and patients alike. What is Type ... Read More

10 Surprising Times to Hit the Gym

Someswar Pal

Someswar Pal

Updated on 24-Apr-2023 12:18:00

71 Views

Unlike what you would assume, hitting the gym is not restricted to certain times of the day or during only certain periods of well-being. Exercise is beneficial at all stages of life, during all periods of sickness and health. All you have to do is curate your workouts for your ... Read More

What Is Collagen Water, and Is It Good for You?

Someswar Pal

Someswar Pal

Updated on 24-Apr-2023 12:06:38

126 Views

Beauty trends keep changing on a dime. Sometimes it's snail and mud facial, sometimes it's celery juice, and as of now, it's collagen water. Before you jump on the collagen water bandwagon though, it would be good to know what exactly it is, and whether it is actually good for ... Read More

9 Questions You Should Be Able to Answer About Your Liver

Someswar Pal

Someswar Pal

Updated on 24-Apr-2023 12:01:41

40 Views

The liver is one the most important and heaviest (weighing in at 2% of our body weight) organs. Its health has repercussions across a range of bodily functions which makes it crucial that you know as much as you can. Only by asking more questions about your liver, can you ... Read More

Does Coconut Water Count as Fluid?

Someswar Pal

Someswar Pal

Updated on 24-Apr-2023 12:00:34

243 Views

It's a sweltering day out, and after a run, a long walk, a sweaty session at the gym, or even if you're just chilling in your pajamas at home – a cool, refreshing drink is just the thing you need. And there are a great variety of fluid options out ... Read More

Advertisements