Sudhir sharma has Published 1149 Articles

Emirp numbers in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:48:30

538 Views

Emirp number is a special type of number that is a prime number whose digits when reversed create another prime number (this prime number is different from the original one).Emirp is the reverse of prime. Some prime numbers that are not emirp are palindromic prime and single digit prime numbers. Some Emirp Numbers are ... Read More

Elo Rating Algorithm in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:48:13

615 Views

Elo Rating Algorithm is a rating algorithm used to rank players in competitive games. The ranking of player of the competition is based on ranting which changes based on the performance of the player as follows, For a game between two players of different ratings. Let’s say there are two players ... Read More

Elements to be added so that all elements of a range are present in array in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:40:32

107 Views

In this problem, we are given an array arr[] consisting of n number. Our task is to create a program to find the number of elements to be added so that all elements of a range are present in array. Problem Description: Here, we need to find the number of elements that ... Read More

Elements of an array that are not divisible by any element of another array in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:39:53

414 Views

In this problem, we are given two arrays arr1[] and arr2[]. Our task is to create a program to find the elements of an array that are not divisible by any element of another array. Problem Description: Here, we need to find all elements from arr1 that are not divisible by any ... Read More

Elements greater than the previous and next element in an Array in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:38:53

1K+ Views

In this problem, we are given an array arr[] of n positive integers. Our task is to create a program to find the elements greater than the previous and next element in an Array. Code Description: We need to find the elements of the array that satisfy the condition, the element is ... Read More

Easy way to remember Strassen's Matrix Equation in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:36:00

772 Views

It is a matrix multiplication algorithm is based on divide and conquer method. It is used to multiply two matrices of the same size, Finding multiplication of two matrices−The strassen’s Algorithm reduces overhead for multiplication by simplifying the multiplication.Here is the multiplication made using the strassen’s Algorithm: M1 = a*(f - h) M2 = ... Read More

Editors and Its types in System Programming in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:35:41

5K+ Views

Editors are basically computer programs that are utilised to edit files on a computer. The provide environment to a programmer to create, edit, update, format a document in any order he/she wants to.In system programming or programming, editors are software or tools that are used to edit the program. These are basically text ... Read More

Element equal to the sum of all the remaining elements in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:35:22

188 Views

In this problem, we are given an array arr[] consisting of n positive values. Our task is to find the element equal to the sum of all the remaining elements of the array.Code Description: We need to find the element whose value is equal to the sum of all elements of the ... Read More

Dumpster Diving/Trashing in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:30:06

134 Views

Dumpster diving or trashing is a technique used in cyber security and information technology which is commonly used by hackers to extract data. It is based on the fact that “something which is worthless for someone can be of great usage for someone else”. It works based on the idiom, “One man’s trash ... Read More

Dudeney Numbers in C++

sudhir sharma

sudhir sharma

Updated on 22-Jan-2021 12:29:45

634 Views

A mathematical number defined in number theory in a given number base is a natural number equal to the perfect cube of another natural number such that the digit sum of the first natural number is equal to the digit sum of the second number(wikipedia).The number was found by Henry ... Read More

Advertisements