## Minimum inverting factor in an array

Given an array of n positive integers, the task is to find the minimum inverting factor in the given array. Inverting factor is defined as… Read More »

- Program to reverse words in a given string in C++
- Reverse all the word in a String represented as a Linked List
- String obtained by reversing and complementing a Binary string K times
- Program to print numbers from N to 1 in reverse order
- Find N numbers such that a number and its reverse are divisible by sum of its digits
- Reverse the elements only at odd positions in the given Array
- Reverse a subarray of the given array to minimize the sum of elements at even position
- Count of all possible reverse bitonic subarrays
- Check if a given string is a Reverse Bitonic String or not
- Check if two arrays can be made equal by reversing any subarray once

Given an array of n positive integers, the task is to find the minimum inverting factor in the given array. Inverting factor is defined as… Read More »

Given a linked list with n nodes, reverse it in the following way : If n is even, reverse it in group of n/2 nodes.… Read More »

Given a string containing a number of words. If the count of words in string is even then reverse its even position’s words else reverse… Read More »

Given a string s, print reverse of string and remove the characters from the reversed string where there are vowels in the original string. Examples:… Read More »

Consider the given array arr[], we need to find if we can sort array with the given operation. The operation is 1. We have to… Read More »

Floyd’s triangle is a triangle with first natural numbers. Task is to print reverse of Floyd’s triangle. Examples: Input : 4 Output : 10 9… Read More »

Given two singly linked lists, find the Longest common suffix of two linked lists. If there are no common characters which are suffixes, return the… Read More »

A linked list is a linear collection of data elements, in which each node points to the next node. Unlike an array, it doesn’t have… Read More »

Given a tree and a node data, your task to reverse the path till that particular Node. Examples: Input : 7 / \ 6 5… Read More »

Given a number n then print n terms of fibonacci series in reverse order. Examples: Input : n = 5 Output : 3 2 1… Read More »

Given two number l and r. Count the total numbers between l and r which when subtracted from their respective reverse, the difference is a… Read More »

Given a doubly linked list containing n nodes. The problem is to reverse every group of k nodes in the list. Examples: Recommended: Please try… Read More »

reverse() is an inbuilt method in Python programming language that reverses objects of list in place. Syntax: list_name.reverse() Parameters: There are no parameters Returns: The… Read More »

Given a non-negative integer n. The problem is to reverse the bits of n and print the number obtained after reversing the bits. Note that… Read More »

PHP serves us with many built-in methods which can be used to manipulate strings. In this article, we will learn about how to reverse a… Read More »