Prateek Jangid has Published 190 Articles

Restoring Division Algorithm For Unsigned Integer in C++

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 07:10:19

1K+ Views

Discuss dividing an unsigned integer using a division algorithm. Some division algorithms are applied on paper, and others are implemented on digital circuits. Division algorithms are of two types: slow division algorithm and fast division algorithm. Slow division algorithm includes restoring, non-performing restoring, SRT, and non-restoring algorithm.In this tutorial, we ... Read More

Responsive Video or Slideshow Embeds in Bootstrap with Examples

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 07:07:31

432 Views

Bootstrap is a free open source and is one of the most famous HTML, CSS, and Javascript frameworks. It's used for user interfaces and themes that create what a user sees in a website or application, and it's utilized on the client rather than the server.Responsive web applications automatically adapt ... Read More

Find the Pair with a Maximum Sum in a Matrix using C++

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 07:04:09

174 Views

In this article, we will discuss finding a pair with a maximum sum in a given matrix or 2-D array. For exampleInput : matrix[m][n] = {    { 3, 5, 2 },    { 2, 6, 47 },    { 1, 64, 66 } } Output : 130 Explanation ... Read More

Responsive Images in Bootstrap with Examples

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 07:01:07

486 Views

Bootstrap is a front-end framework meaning that it’s used on the client, not the server, and it’s specifically used for user interfaces and themes that design what the user sees in a website or application.It included bits of code and HTML, CSS, and also javascript. It is used for building ... Read More

Find the Pair with Given Sum in a Matrix using C++

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 06:59:43

189 Views

In this article, we will discuss the program of finding a pair with a given sum in a given matrix. For example −Input : matrix[n][m] = {    { 4, 6, 4, 65 },    { 56, 1, 12, 32 },    { 4, 5, 6, 44 }, ... Read More

Resetting a Root Password in Linux without External Media

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 06:56:45

354 Views

Discuss how to recover the root password of Linux without using any external media. The version of Linux we are working with is CentOS version 8.2. Still, the procedures we will see can work with any Linux distro and many others. You may find that it doesn’t work with some ... Read More

C++ Representation of a Number in Powers of Other

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 06:53:38

175 Views

Discuss the problem of representing a number in the power of another number. We are given two numbers, x, and y. We need to tell whether y can be represented in the power of x where each power of x can be used once, for exampleInput: x = 4, y ... Read More

Find the Numbers that are not divisible by any number in the range [2, 10] using C++

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 06:51:33

637 Views

In this article, we will discuss the problem to find the numbers from 1 to n(given) which are can not be divided by any number from 2 to 10. Let's understand this with some examples −Input : num = 14 Output : 3 Explanation: There are three numbers, 1, 11, ... Read More

Represent a Number as Sum of Minimum Possible Pseudo-Binary Numbers in C++

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 06:46:41

393 Views

This tutorial will discuss the representation of a number as a sum of minimum pseudo-binary numbers. Pseudo-binary numbers are the numbers that consist of only binary digits, i.e., 0 and 1. Examples of pseudo-binary numbers are 00, 11, 10, 100, 111, 1011, etc.Below are some examples of numbers represented as ... Read More

Represent a number as a Sum of Maximum Possible Number of Prime Numbers in C++

Prateek Jangid

Prateek Jangid

Updated on 26-Nov-2021 06:43:01

175 Views

Discuss a problem where we are given a number N, and we need to split this number in the maximum prime numbers sum, for exampleInput: N = 7 Output: 2 2 3 Explanation: 7 can be represented as the sum of two 2’s and a 3 which are the maximum ... Read More

Advertisements