## Reorder the position of the words in alphabetical order

Given an array arr[] of strings, the task is to reorder the strings lexicographically and print their positions in the original list. Examples: Input: arr[]… Read More »

- Structuring Python Programs
- How to assign values to variables in Python and other languages
- Sum of array Elements without using loops and recursion
- Logic Gates in Python
- Print matrix in snake pattern from the last column
- Program to print Step Pattern
- Immediate smallest number after re-arranging the digits of a given number
- Program to Convert Hexadecimal Number to Binary
- Number of elements that can be seen from right side
- Interchange elements of first and last columns in matrix
- Check if a given mobile number is fancy
- Find the total guests that are present at the party
- Print numbers in matrix diagonal pattern
- Program to print the given Z Pattern
- Program to check if two strings are same or not
- Replace array elements by sum of next two consecutive elements
- Python Program to print digit pattern
- Program to print Hut
- Program to find the Sum of each Row and each Column of a Matrix
- Minimum number of Parentheses to be added to make it valid
- Print matrix in zig-zag fashion from the last column
- Cost of painting n * m grid
- Count the number of holes in an integer
- Programs for printing pyramid patterns using recursion
- Magical Pattern
- Logarithm
- How to Read and Print an Integer value in Java
- Program to print hollow Triangle pattern
- How to concatenate two Integer values into one?
- Program to check if an Array is Palindrome or not

Given an array arr[] of strings, the task is to reorder the strings lexicographically and print their positions in the original list. Examples: Input: arr[]… Read More »

Given three strings A, B and C. Each of these is a string of length N consisting of lowercase English letters. The task is to… Read More »

Given an array arr[] of N integers. The task is to find the sum of factorials of each element of the array. Examples: Input: arr[]… Read More »

Given a number N, the task is to find the sum of digits of a number at even and odd places. Examples: Input: N =… Read More »

You have an unlimited amount of banknotes worth A and B dollars (A not equals to B). You want to pay a total of S dollars using exactly N notes. The… Read More »

Given a string, the task is to print the first and last character of each word in a string. Examples: Input: Geeks for geeks Output:… Read More »

Given a number, the task is to find the product of the digits of a number. Examples: Input: n = 4513 Output: 60 Input: n… Read More »

Given an array arr[] that contain the lengths of n sides that may or may not form a polygon. The task is to determine whether… Read More »

Given the length of the side of a square a, the task is to find the area of the shaded region formed by the intersection… Read More »

Given an array arr[] of size n, The task is to replace every element of the array by the sum of next two consecutive elements… Read More »

Given a string str, the task is to print the last character of each word in the string. Examples: Input: str = “Geeks for Geeks”… Read More »

Given the other two sides of a right angled triangle, the task is to find it’s hypotenuse. Examples: Input: side1 = 3, side2 = 4… Read More »

You are given a time T in 24-hour format (hh:mm) and a positive integer K, you have to tell the time after K minutes in… Read More »

A person hosts a party and invites N guests to it. However, each guest has a condition, that each guest ‘Gi’ only stays at the… Read More »

Given here is a right circular cone of radius r and perpendicular height h, which is inscribed in a cube which in turn is inscribed… Read More »