PSYCHOCODES

PsychoCodes.in

C program to find Modular Multiplicative Inverse of two Relatively Prime Numbers

In this article, we will learn how to create a program to calculate Inverse Modulo or Modular Multiplicative Inverse of two relatively prime numbers in C programming language but first, let us understand what is Inverse modulo.

Read more

C program to Implement Stack using Linked List

A stack is a linear data structure and follows the last in first out rule, in this tutorial, we will learn how to implement stack using Linked List in C programming language.

Read more

Binary Search Program in C using Recursion

Binary Search is a type of searching algorithm which works on a sorted array. It finds the target value(T) by comparing the target value(T) with the middle element of the array.

Read more

Run Length Encoding (RLE) Program in Python

Run Length Encoding is a lossless data compression technique which converts repetitive chunks of data into single value and counts. This type of compression is suitable when data contains many such runs. RLE is mainly used in Graphics Interchange Format (GIF) files.

Read more

C program to Implement Booth's Algorithm-Booth's Algorithm in C

Booth's Algorithm is a multiplication algorithm that multiplies two signed binary numbers in two's complement notation. The algorithm was invented by Andrew Donald Booth in 1950 while doing research on crystallography at Birkbeck College in Bloomsbury, London.

Read more

C program to Calculate Hamming Distance of two Binary Strings

In the field of Information theory, Hamming distance of two equal length strings is the number of position at which the corresponding symbols are different or we can say that it is the minimum number of substitution required to change one string into other.

Read more

Twos Complement of a Binary Number in C

We know how to represent 2 in binary it's simple haa! but do you know how to represent -2 in binary? There are basically three methods to  represent a negative number in binary.

Read more