Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
PHP Web Technologies Image-Processing

PHP Imagick rotationalBlurImage() Function

The Imagick::rotationalBlurImage() function is an inbuilt function in PHP which is used to apply the blur over an image by a certain angle. Syntax: bool Imagick::rot...
PHP Web Technologies PHP-string

PHP Program to check a string is a rotation of another string

Given the two strings we have to check if one string is a rotation of another string. Examples: Input : $string1 = "WayToCrack", $string2 = "Cr...
Arrays Codenation rotation

Reversal algorithm for array rotation

Write a function rotate(arr[], d, n) that rotates arr[] of size n by d elements. Example : Input : arr[] = [1, 2, 3, 4, 5, 6, 7] d = 2 Output : arr[] = [...
Arrays rotation Arrays

Block swap algorithm for array rotation

Write a function rotate(ar[], d, n) that rotates arr[] of size n by d elements. Rotation of the above array by 2 will make array ...
Arrays Greedy Amazon

Program for array rotation

Write a function rotate(ar[], d, n) that rotates arr[] of size n by d elements. Rotation of the above array by 2 will make array ...
Algorithms computer-graphics Algorithms

2D Transformation Rotation of objects

We have to rotate an object by a given angle about a given pivot point and print the new co-ordinates. Examples: Input : {(100, 100), (150, 200), (200, 200), ...
Strings lexicographic-ordering rotation

Lexicographically minimum string rotation Set 1

Write code to find lexicographic minimum in a circular array, e.g. for the array BCABDADAB, the lexicographic minimum is ABBCABDAD. Source: Google Written Test More E...
Arrays Divide and Conquer ABCO

Find the Rotation Count in Rotated Sorted array

Consider an array of distinct numbers sorted in increasing order. The array has been rotated (clockwise) k number of times. Given such an array, find the value of k. ...
C++ Geometric Mathematical

Rotation of a point about another point in C++

We have already discussed the rotation of a point P about the origin in the Set 1 and Set 2. The rotation of point P about origin with an angle θ in the anti-cl...
Greedy Mathematical Greedy

Minimum rotations to unlock a circular lock

You are given a lock which is made up of n-different circular rings and each ring has 0-9 digit printed serially on it. Initially all n-rings together show a n-digit ...

Subscribe to Our Newsletter