## Check whether count of odd and even factors of a number are equal

Given a number N, the task is to find whether N has an equal number of odd and even factors. Examples: Input: N = 10… Read More »

- Program to calculate Electricity Bill
- Check if a Number is Odd or Even using Bitwise Operators
- Program to print half Diamond star pattern
- Check if its possible to make sum of the array odd with given Operations
- Program to reverse the rows in a 2d Array
- Check whether a Matrix is a Latin Square or not
- Program to calculate Percentile of a student based on rank
- Replace every element with the smallest of the others
- Count of elements A[i] such that A[i] + 1 is also present in the Array
- Make A, B and C equal by adding total value N to them
- Calculate the frequency of each word in the given string
- Count of greater elements for each element in the Array
- Student Information Management System
- Check if a word is present in a sentence
- Find two numbers such that difference of their squares equal to N
- XOR of every element of an Array with a given number K
- The "Hello World" To Programming
- Find ratio of zeroes, positive numbers and negative numbers in the Array
- Print string after removing all (“10” or “01”) from the binary string
- Program to balance the given Chemical Equation
- C program to display month by month calendar for a given year
- Print the Alphabets A to Z in Star Pattern
- Print Triangle separated pattern
- Represent N as sum of K even or K odd numbers with repetitions allowed
- Program to find all Factors of a Number using recursion
- Find the largest and second largest value in a Linked List
- Find the remainder when N is divided by 4 using Bitwise AND operator
- Largest number less than or equal to Z that leaves a remainder X when divided by Y
- Java Program to Add two Matrices
- Program to find absolute value of a given number

Given a number N, the task is to find whether N has an equal number of odd and even factors. Examples: Input: N = 10… Read More »

Given an array arr[] positive integers, the task is to find the number of ways to convert the array sum even if we are allowed… Read More »

Given an array arr[] of positive integers, the task is to find the ratio of LCM and GCD of the given array. Examples: Input: arr[]… Read More »

Given an array arr[] of N integers, the task is to find the maximum absolute difference between distinct elements of the array. Examples: Input: arr[]… Read More »

Given a positive integer N, the task is to print an N × N zig-zag matrix consisting of numbers from 1 to N2, such that… Read More »

Indentation improves the readability of the code. It is mainly used for code inside looping statements, control structures, functions etc. as good intended code is… Read More »

Given a string S, the task is to count the number of positions by which the vowels have to be moved such that all the… Read More »

Given three integers A,B and C which denotes length of the three medians of a triangle, the task is to calculate the area of the… Read More »

Given four integers a, b, c, and d which represents two complex numbers of the form (a + bi) and (c + di), the task… Read More »

Given two values M and V representing the mass of solute and volume of a solution, the task is to calculate the concentration of the… Read More »

Given a positive integer N, the task is to check whether the binary equivalent of that integer ends with a given string str or not. Print… Read More »

Given an integer Y, denoting a year, as input, the task is to find the date of Easter for that year. Examples: Input: Y =… Read More »

Given a matrix mat[][], the task is to check that the sum of the elements of the matrix is prime or not. Examples: Input: mat[][]… Read More »

Place value can be defined as the value represented by a digit in a number on the basis of its position in the number. Here… Read More »

Given a number N and an integer K, the task is to find the smallest number greater than or equal to N, formed using only… Read More »