## Print all proper fractions with denominators less than equal to N

Given an integer N, the task is to print all proper fractions such that the denominator is less than or equal to N. Proper Fractions:… 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
- Program to reverse the rows in a 2d Array
- Check if its possible to make sum of the array odd with given Operations
- Maximum number of objects that can be created as per given conditions
- Calculate the frequency of each word in the given string
- C program to find square root of a given number
- Student Information Management System
- Check whether a Matrix is a Latin Square or not
- XOR of every element of an Array with a given number K
- C Program to Print all digits of a given number
- Count of greater elements for each element in the Array
- Find the smallest number whose sum of digits is N
- Program to calculate Percentile of a student based on rank
- Replace every element with the smallest of the others
- Find ratio of zeroes, positive numbers and negative numbers in the Array
- Program to print the pattern 1020304017018019020 **50607014015016 ****809012013 ******10011...
- Make A, B and C equal by adding total value N to them
- Count of elements A[i] such that A[i] + 1 is also present in the Array
- Find two numbers such that difference of their squares equal to N
- Program to find absolute value of a given number
- C program to traverse an Array
- Find the largest and second largest value in a Linked List
- Java Program to Add two Matrices
- C++ Program to Print Cross or X Pattern
- Program to find all Factors of a Number using recursion
- C program to display month by month calendar for a given year
- Program to delete all even nodes from a Singly Linked List
- Print string after removing all (“10” or “01”) from the binary string

Given an integer N, the task is to print all proper fractions such that the denominator is less than or equal to N. Proper Fractions:… Read More »

Given a number N, the task is to count the number of unique digits in the given number. Examples: Input: N = 22342 Output: 2 Explanation:The digits… Read More »

Given N items of type-1 and M items of type-2. An object can be created from 2 items of type-1 and 1 item of type-2… Read More »

Given a number N, the task is to find the minimum value of N by applying below operations any number of times: Multiply N by… Read More »

Given an array arr[] of N positive integers where the integers are in the range from 1 to N, the task is to check whether… Read More »

Given an array arr[] of N elements, where each element represents an angle(in degrees) of a polygon, the task is to check whether it is… Read More »

Given two postive integers L and R, the task is to print the numbers in the range [L, R] which have their digits in strictly… Read More »

Prerequisite: graphics.h, How to include graphics.h? The task is to write a C program to draw a Heart using graphics in C. Approach: To run… Read More »

Given string str of lower case alphabets, the task is to find the minimum cost to change the input string in a string that contains… Read More »

Given a number N, the task is to print the star pattern in single loop. Examples: Input: N = 9 Output: * * * *… Read More »

Given a string str, the task is to remove all non-alphanumeric characters from it and print the modified it. Examples: Input: @!Geeks-for’Geeks,123 Output: GeeksforGeeks123 Explanation: at symbol(@), exclamation… Read More »

Given an array arr[] of integers. The task is to find the indices of all local minima and local maxima in the given array.Examples: Input:… Read More »

Given two integer X and Y, the task is to find the minimum number of steps to convert integer X to Y using any of… Read More »

Given a string str, the task is to check if the given string is Even-Odd Palindrome or not. An Even-Odd Palindrome string is defined to… Read More »

Given a string str, the task is to write a Java program to check whether a string contains only digits or not. If so, then… Read More »