Riya Kumari has Published 74 Articles

Tailwind CSS Vs Bootstrap

Riya Kumari

Riya Kumari

Updated on 12-Sep-2023 09:49:35

33K+ Views

CSS (Cascading Style Sheets) is a stylesheet language used to style the HTML elements in a webpage. CSS framework is a library which enables the developers to design more standard-compliant websites using CSS in an easier way. These libraries are ready-to-use so there is no need of writing the long ... Read More

Number of isosceles triangles in a binary tree

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:42:37

70 Views

A binary tree is a data structure in which each node can have two children (at most). These children are known as left and right child respectively. Suppose we are given a parent array representation using which you have to a create a binary tree. The binary tree may have ... Read More

Number of full binary trees such that each node is product of its children

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:41:11

50 Views

A full binary tree is a special type of binary tree in which all the parent nodes either have two or no children. In data structures, these kinds of trees are considered as balanced and organized representation. Full binary trees may have a unique feature where each of the parent ... Read More

Number of jumps required for a thief to cross walls

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:39:56

135 Views

Imagine a prisoner (or thief) wants to escape from a jail. In order to do so, he needs to cross N number of walls of varying lengths. He can climb X feet for each jump. But, since the walls are slippery, he falls down by Y feet after each jump. ... Read More

Number of jumps required of given length to reach a point of (d, 0) from origin in 2D plane

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:35:08

46 Views

In this article, we will discuss the possible solution of an exciting analytical question of how many jumps are required to reach a point (d, 0) from the origin in a 2D plane where you have been specified fixed length of jumps. We will use the fixed length of jumps ... Read More

Number of integral solutions for equation x = b*(sumofdigits(x) ^ a)+c

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:33:41

137 Views

Suppose you are given three integral numbers a, b and c and you have an equation x = b* (sumofdigits(x)^a) +c. Here, sumofdigits(x) is the total sum of all the digits in x. To find all the possible integral solutions which satisfy the equation, we will explore various approaches in ... Read More

Number of horizontal or vertical line segments to connect 3 points

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:31:43

119 Views

Suppose you are given three different points (or coordinates) and you want to find out number of horizontal or vertical line segments which can be made by connecting those three points. Such line segments together are also known as polyline. You need concepts of computational geometry in order to solve ... Read More

Number of handshakes such that a person shakes hands only once

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:29:47

94 Views

Suppose you are in a social gathering. Can you calculate how many handshakes you can do if you were to shakes only once? This question might sound intriguing to you. This can be solved mathematically by using permutations and combinations. However, the mathematical operation might be time-consuming. In this ... Read More

Number of elements greater than K in the range L to R using Fenwick Tree (offline queries)

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:28:27

188 Views

In the field of computer science, we have to process large datasets which includes query selection and update operations. It is a challenging task for the developers to execute these operations in real-time with less time complexity. Using Fenwick tree is an efficient way to tackle these range-based query ... Read More

Number of divisors of product of N numbers

Riya Kumari

Riya Kumari

Updated on 12-Jul-2023 12:26:49

198 Views

Divisor of a number is which divides it exactly without any remainders. In other words, a divisor of a number n is the one which results in n when multiplied by any other integer. It can also be called as a factor of a number. Dividend รท Divisor = Quotient. ... Read More

Advertisements