Write a C/C++ program to find general solution to given Linear Congruence Equation.
Write a C/C++ program to solve given simultaneous pairs of Linear Congruence Equations.
In this post, we will see how to get an iterator over a primitive array in Java. The iterator should be able to iterate over the values in the specified array.
Write a C/C++ program to find general solution of Linear Diophantine equation. A linear Diophantine equation is a first degree (linear) polynomial whose solutions are restricted to integers.
Given an array of positive integers which can be partitioned into three disjoint subsets having same sum and that covers S, print the partitions.
The Vigenère cipher is a form of polyalphabetic substitution to encrypt alphabetic text by using a keyword. The Vigenère cipher is easy to understand and implement. It consists of several Caesar ciphers in sequence with different shift values.
Diffie-Hellman algorithm is used to establish a shared secret between two parties which can be used for secret communication for exchanging data over a public network.
The Euclid’s algorithm (or Euclidean Algorithm) is a method for efficiently finding the greatest common divisor (GCD) of two numbers. The GCD of two integers X and Y is the largest number that divides both of X and Y (without leaving a remainder).
Write a recursive C/C++ and java program to calculate factorial of a given positive number. The factorial of a non-negative integer n is the product of all positive integers less than or equal to n. It is denoted by n!. There are n! different ways to arrange n distinct objects into a sequence.
In this post, we will discuss how to initialize a matrix in C++ programming language.
Write a program to determine if a given string is palindrome or not. A palindromic string is a string that remains the same when its characters are reversed. Like “ABCBA”, for example, it is “symmetrical”.
Write a C program to efficiently print factorial series in a given range.