C++ Programming-Backtracking Set 5 (m Coloring Problem)
C++ Programming-Backtracking Set 5 - Backtracking - Given an undirected graph and a number m, determine if the graph can be...
C++ Programming-Backtracking Set 5 - Backtracking - Given an undirected graph and a number m, determine if the graph can be...
Python programming - Sieve of Eratosthenes - Mathematical Algorithms - Given a number n, print all primes smaller than or...
Swap bits in a given number - Bit Algorithm - Given a number x and two positions (from right side) in binary representation...
Java programming - Sieve of Eratosthenes - Mathematical Algorithms - Given a number n, print all primes smaller than or...
C programming - Sieve of Eratosthenes - Mathematical Algorithms - Given a number n, print all primes smaller than or equal...
Count total set bits in all numbers from 1 to n - Bit Algorithm - In other words, if the control goes inside while loop of...
C Programming - Magic Square - Mathematical Algorithms - A magic square of order n is an arrangement of n^2 numbers, usually...
C Programming Fibonacci numbers - Mathematical algorithms - The Fibonacci numbers are the numbers in the following integer...
Detect if two integers have opposite signs - Bit Algorithm - Given two signed integers, write a function that returns true...
Find the element that appears once - Bit Algorithm - Given an array where every element occurs three times, except one...
Our site uses cookies. By using this site, you agree to the Privacy Policy and Terms of Use.