## Find the Nth-term in a given arithmetic progression

Given a first element a and common difference d of an arithmetic progression. Write a program to find the nth … Read more

Given a first element a and common difference d of an arithmetic progression. Write a program to find the nth … Read more

Given a decimal number, convert that number to its binary representation. Example: Number: 5, binary representation: 101 Number: 8, binary … Read more

Write a program to add the digits of the given number until the number becomes a single digit number. Example: … Read more

Given a list of tax brackets (different tax on different incomes). Write a program to calculate the tax on given … Read more

Given N orders, each order consists of pickup and delivery services, means delivery of a particular service will after the … Read more

Given a number write an algorithm to construct the largest number possible by using the digits of given number. Given … Read more

Given a set of digits, write an algorithm to construct the largest number possible by appending the given digits. Example: … Read more

Objective: Given a range, find all the numbers in the range which has prime set bits using Sieve of Eratosthenes … Read more

Objective: Given two integers, write an algorithm to calculate the hamming distance between the integers. Hamming Distance: Hamming distance between … Read more

Objective: Given a range of integers, wrote a program to find all the Armstrong numbers in that range. What is … Read more

Objective: Given a number N, write an algorithm to find the maximum number of steps it takes to transform (1, … Read more

Objective: Given two integers N and K. Write an algorithm to find all the combinations of k numbers which sum … Read more

Objective: Given a number, write a program to check if the number is divisible by all of its digits separately. … Read more

Objective: Given a number, write a program to find out whether the number is Armstrong number or not What is … Read more