Pranavnath has Published 445 Articles

Shortest distance between given Nodes in a Bidirectional Weighted Graph by Removing any K Edges

Pranavnath

Pranavnath

Updated on 09-Aug-2023 16:05:11

229 Views

Introduction This C program calculates the most limited separation between two given hubs in a bidirectional weighted chart by evacuating any K edges. It utilizes an altered form of Dijkstra's calculation, considering the expulsion of K edges as a limitation. The program utilizes a need line for effective hub determination, ... Read More

C program to implement DFS traversal using Adjacency Matrix in a given Graph

Pranavnath

Pranavnath

Updated on 09-Aug-2023 15:58:59

5K+ Views

Introduction Graph theory allows us to study and visualize relationships between objects or entities. In the current technology of computer science, graph traversal plays a crucial role in exploring and analyzing different types of data structures. One of the crucial operations performed on graphs is traversal - visiting all vertices ... Read More

Check if there are T number of Continuous of Blocks of 0s or not in given Binary Matrix

Pranavnath

Pranavnath

Updated on 09-Aug-2023 15:24:04

171 Views

Introduction Binary matrices are widely used in computer science and various fields to represent data or solve complex problems efficiently. In some cases, it becomes important to identify whether a given binary matrix contains continuous blocks of zeros. In this article, we will explore an elegant solution using C++ code ... Read More

Count of Root to Leaf Paths Consisting of at most M Consecutive Nodes having Value K

Pranavnath

Pranavnath

Updated on 09-Aug-2023 15:15:25

203 Views

Introduction Binary trees are fascinating data structures that have numerous applications in computer science and programming. One interesting problem is finding the count from the given tree composed of a parent along with its child nodes. The Binary tree is composed of nodes and the root node is decided and ... Read More

Finding the Maximum Distance between Elements using Python

Pranavnath

Pranavnath

Updated on 07-Aug-2023 17:41:16

756 Views

Introduction The list data structure deals with the elements of different data types like integer numbers, float number or string. The elements need to be defined within the square brackets separated by comma. The Python language is primarily composed of different data structures and from it the list data structure ... Read More

Python – Merge Element of Sublists

Pranavnath

Pranavnath

Updated on 07-Aug-2023 14:50:39

558 Views

Introduction In Python programming, merging sublist elements from two diverse records could be a common operation when managing with complex information structures. The capacity to combine sublist components productively is vital for assignments such as information control, examination, and visualization. This article investigates three prevalent approaches to combining sublist components ... Read More

Finding the Maximum and Minimum value from two Python Lists

Pranavnath

Pranavnath

Updated on 07-Aug-2023 14:48:37

5K+ Views

Introduction Python, now widely regarded as one of the most versatile programming languages, offers a plethora of built−in functions and methods that simplify complex tasks. In this article, we dive into finding the maximum and minimum values among two Python lists rapidly using these native capabilities. Whether we are a ... Read More

Python - Minimum Key Equal Pairs

Pranavnath

Pranavnath

Updated on 07-Aug-2023 14:44:53

117 Views

Introduction Python is a flexible and effective programming language that gives a wide extend of functionalities. One common errand in programming is to discover sets of elements in a collection that have broken even with keys. In this article, we'll investigate three distinctive approaches to solving this issue utilizing Python. ... Read More

Python – Mean of Consecutive Sublist

Pranavnath

Pranavnath

Updated on 07-Aug-2023 14:39:56

111 Views

Introduction Python may be a flexible programming dialect known for its effortlessness and lucidness. When working with records or clusters, it is regularly valuable to calculate the cruel (normal) of sequential sublists. This operation can be finished utilizing diverse approaches, each with its own algorithm and steps. In this article, ... Read More

Python – Minimum Sum of Consecutive Characters

Pranavnath

Pranavnath

Updated on 07-Aug-2023 14:37:43

156 Views

Introduction In Python programming, the task of finding the minimum sum of consecutive characters in each string could be a common issue experienced in different applications. The objective is to recognize a sub−string that comes about within the littlest whole when considering the ASCII values of its characters. This article ... Read More

Advertisements