Tapas Kumar Ghosh has Published 150 Articles

Sum of minimum element at each depth of a given non cycle graph

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 10-May-2023 11:23:05

75 Views

A graph that does not contain any cycles or loops is called a non-cycle graph. A tree is a non-cycle graph in which every node is joined to another unique node. A non-cycle graph is also known as an acyclic graph. Difference between cycle graph and non-cycle graph − ... Read More

How to style a select dropdown with only CSS?

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 10-May-2023 11:13:20

246 Views

The website navigation plays an important role while building the website because it contains the dropdown list. The collection of various lists that exists in one or more navigation is called a dropdown list. To create the dropdown list it needs the select and option element. The option element is ... Read More

Isomorphism in N-ary Trees

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:42:19

330 Views

Isomorphism is defined as two trees either having identical or mirror structures. In the case of mirror structure, the left node data will always match the right node. For example, we will take a number nearest to the mirror and see what its reverse would be, that is the real ... Read More

Binary Space Partitioning

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:28:26

3K+ Views

A binary space partition is a data structure used in computer graphics and algorithmic geometry to divide a space into smaller parts. BSP was developed in the environment of 3D computer graphics. BSP includes applications such as operation with geometrical shapes, geospatial, and ray tracing. It is a two-step procedure ... Read More

Check score of given binary string

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:25:58

186 Views

The sequence of bytes is called a binary string and it holds the binary value. A binary score is normally presented on a range from 0 to 1 where 1 is reserved for the perfect model. In the given binary string, If the element is found to be 1 then ... Read More

Length of longest substring that do not contain any palindrome

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:22:04

209 Views

In C++, we have predefined function max() that will be used for finding any longest substring that does contain any palindrome. A palindrome string is a group of characters that remains the same even after reversing. Let’s take an example of a palindrome string to make the longest non-palindrome substring. ... Read More

Check if string can be made lexicographically smaller by reversing any substring

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:17:45

503 Views

In C++ we have an inbuild reverse() function that will be used for reversing the substring to check whether a string can be made lexicographically smaller or not. Lexicographic ordering is the process by which the character of a word is sorted in a dictionary. Let’s take an example of ... Read More

Replace every consonant sequence with its length in the given string

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:14:08

226 Views

This article will help us understand how to replace the consecutive consonant sequence with its length in the given string. Consonants are series of alphabetical letters that are not vowels. Here we need to first identify which letter in the string are consonants. For example, in the word “abcdiopqrsu”, ... Read More

Different Types of Database Users

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:10:48

22K+ Views

Database users interact with data to update, read and modify the given information on a daily basis. There are various types of database users and we will learn in detail about them. Database users can be divided into the following types − End Users Naive users / ... Read More

Java program to check whether the number is divisible by 5

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 20-Apr-2023 12:02:43

2K+ Views

In mathematics, the divisibility rule of 5 states that if the number ends with 0 or 5 then it will divisible by 5. There is another way to identify the divisibility rule of 5, if the remainder comes to 0 it returns the number is divisible by 5. The mod(%) ... Read More

Advertisements