Pranavnath has Published 445 Articles

Count all Hamiltonian paths in a given directed graph

Pranavnath

Pranavnath

Updated on 25-Aug-2023 15:23:29

545 Views

Introduction In graph theory, a Hamiltonian path is a sequence of vertices that visits each vertex exactly once, with no repeated edges. It is named after Sir William Rowan Hamilton, an Irish mathematician who contributed significantly to various fields, including graph theory. In this article, we will dive deep into ... Read More

Difference between the shortest and second shortest path in an Unweighted Bidirectional Graph

Pranavnath

Pranavnath

Updated on 25-Aug-2023 15:21:32

225 Views

Introduction In the area of graph theory, unweighted bidirectional graphs form a fundamental framework for modeling various real-world scenarios. These graphs allow us to explore relationships between different entities, such as road networks or social connections. One key aspect that captures our attention is finding paths between two nodes and ... Read More

Count of distinct groups of strings formed after performing equivalent operation

Pranavnath

Pranavnath

Updated on 25-Aug-2023 15:19:20

115 Views

Introduction In computer programming, solving problems often requires us to manipulate strings effectively while accounting for their diversity. One interesting challenge is to determine the count of distinct groups that can be formed after performing equivalent operations on a given set of strings. In this article, we will explore an ... Read More

Character Encoding in Python

Pranavnath

Pranavnath

Updated on 25-Aug-2023 14:54:04

456 Views

Introduction Python has got a remarkable place in the field of handling data with the technologies like data science and machine learning. In the 21st century handling data is the most challenging task for organizations with a high volume of data and with the development of data science and ... Read More

Python – Bitwise OR among list elements

Pranavnath

Pranavnath

Updated on 25-Aug-2023 14:38:11

541 Views

Introduction Python Language comes under the OOPS concept and it runs the code immediately without checking for errors. This language was discovered by Guido Rossum in 1989 and was globally launched in the year 1991. Python is a versatile and high-level language that can be understood easily by the user. ... Read More

How to Alternate vowels and consonants in Python Strings?

Pranavnath

Pranavnath

Updated on 25-Aug-2023 14:12:24

263 Views

The words are composed of vowels and consonants that form the strings. Using the Python language, the vowels and consonants can be varied inside the string. The methods to do this can be varying and some may be simple loop iteration on the other side it can be some of ... Read More

Python – Alternate Character Addition

Pranavnath

Pranavnath

Updated on 25-Aug-2023 14:06:53

351 Views

Introduction Python Language comes under the OOPS concept and it runs the code immediately without checking for errors. Apart from the other languages it has got its unique place because of its advantages like it’s easy to code with simple syntax and statements. Strings are composed of characters and character ... Read More

How to Convert a Python String to Alternate Cases?

Pranavnath

Pranavnath

Updated on 25-Aug-2023 14:01:21

1K+ Views

In this article, the user will learn how to convert a Python string to alternate cases. The strings are comprised of characters and it is indicated either within single quotes or double quotes. The string can be converted into alternate cases using the Python language. In the given string, the ... Read More

Categorizing input data in Python lists

Pranavnath

Pranavnath

Updated on 25-Aug-2023 13:59:07

982 Views

Introduction A List is a type of data structure in Python language that can store elements of different data types within these “[]” brackets. The given data are listed according to the data type like integer and string. There are three primary functions involved namely filtering, sorting, and grouping. To ... Read More

Python – Alternate rear iteration

Pranavnath

Pranavnath

Updated on 25-Aug-2023 13:53:33

302 Views

Introduction Implementing alternate rear iteration using Python involves basic usage of list data structure and functionality with the help of looping structures. This problem applies simple mathematical skills that allow us to determine even numbers to print the alternate number from the back side. The data structures available in the ... Read More

Advertisements