Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
Arrays Dynamic Programming Matrix

Maximum sum rectangle in a 2D matrix DP-27

Given a 2D array, find the maximum sum subarray in it. For example, in the following 2D array, the maximum sum subarray is highlighted with blue rectangle and sum of...
PHP Web Technologies Image-Processing

PHP imagefilledrectangle() Function

The imagefilledrectangle() function is an inbuilt function in PHP which is used to create a filled rectangle. This function creates a rectangle filled with given colo...
PHP Web Technologies Image-Processing

PHP imagerectangle() Function

The imagerectangle() function is an inbuilt function in PHP which is used to draw the rectangle. Syntax: bool imagerectangle( $image, $x1, $y1, $x2, $y2, $color ) Par...
PHP Web Technologies Image-Processing

PHP ImagickDraw rectangle() Function

The ImagickDraw::rectangle() function is an inbuilt function in Imagick library of PHP which is used to draw a rectangle. Syntax: bool ImagickDraw::rectangle( $x1, $y...
PHP Web Technologies Image-Processing

PHP ImagickDraw roundRectangle() Function

The ImagickDraw::roundRectangle() function is an inbuilt function in Imagick library of PHP which is used to draw a rounded rectangle. Syntax: bool ImagickDraw::round...
SQL SQL-PL/SQL square-rectangle

Area and Perimeter of Rectangle in PL/SQL

Prerequisite – PL/SQL introduction In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare ...
C C Programs computer-graphics

Draw Rectangle in C graphics

rectangle() is used to draw a rectangle. Coordinates of left top and right bottom corner are required to draw the rectangle. left specifies the X-coordinate of top le...
Arrays Dynamic Programming Matrix

Maximum sum rectangle in a 2D matrix DP-27

Given a 2D array, find the maximum sum subarray in it. For example, in the following 2D array, the maximum sum subarray is highlighted with blue rectangle and sum of...
Geometric Mathematical square-rectangle

Check if four segments form a rectangle

We are given four segments as a pair of coordinates of their end points. We need to tell whether those four line segments make a rectangle or not. Examples: Input : s...
Geometric Mathematical Amazon

Find if two rectangles overlap

Given two rectangles, find if the given two rectangles overlap or not. Note that a rectangle can be represented by two coordinates, top left and bottom right. So mai...

Subscribe to Our Newsletter