C Programming Check for Integer Overflow – Bit Algorithm – The solution of casting to long and adding to find detecting the overflow is not allowed.
Algorithm
C++ Programming – How to check if an instance of 8 puzzle is solvable – Given a 3Ć3 board with 8 tiles (every tile has one number from 1 to 8) and one empty
Python Programming – Cutting a Rod – Dynamic Programming A rod of length n inches and an array of prices that contains prices of all pieces of size small
Java Programming – Cutting a Rod – Dynamic Programming A rod of length n inches and an array of prices that contains prices of all pieces of size small
C++ Programming – Cutting a Rod – Dynamic Programming Given a rod of length n inches and an array of prices that contains prices of all pieces of size small
Python programming Find the Number Occurring Odd Number of Times – Bit Algorithm – Given array of positive integers. All numbers occur even number of times
C Programming Draw a circle without floating point arithmetic – Mathematical Algorithms – Following program uses a simple concept Let the radius be r.
JAVA Programming-Find the Number Occurring Odd Number of Times – Bit Algorithm – Given an array of positive integers. All numbers occur even number of times
C Programming Find the smallest number whose digits multiply to a given number n – Mathematical Algorithms – Given a number ānā find the smallest number āpā
C++ Programming-Find the Number Occurring Odd Number of Times – Bit Algorithm – Given an array of positive integers. All numbers occur even number of times