Articles on Trending Technologies

Technical articles with clear explanations and examples

Print maximum sum square sub-matrix of given size in C Program.

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 732 Views

Given a matrix of NxN, find a sub-matrix of MxM where M=1 such that the sum of all elements in the MxM matrix is maximum. The input matrix can contain zero, positive and negative integer values. Finding Maximum Sum Sub-matrix Original 5x5 Matrix 1 1 1 1 ...

Read More

How to define the location of a font for download in CSS

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 162 Views

The @font-face rule is used to define custom fonts for web pages by specifying the location of font files for download. This allows you to use fonts that are not installed on the user's system. Syntax @font-face { font-family: "font-name"; src: url("path/to/font.woff2") format("woff2"), url("path/to/font.woff") format("woff"); } Key Properties PropertyDescription font-familyDefines the name you'll use to reference this font srcSpecifies the location and format of the font file font-weightDefines which font weight this declaration applies to font-styleDefines ...

Read More

Light Speed In Animation Effect with CSS

Smita Kapse
Smita Kapse
Updated on 15-Mar-2026 712 Views

The CSS light speed in animation effect creates a dramatic entrance where an element appears to speed in from the right side of the screen with a skewing motion that simulates high-speed movement. Syntax @keyframes lightSpeedIn { 0% { transform: translateX(100%) skewX(-30deg); opacity: 0; } 100% { transform: translateX(0%) skewX(0deg); opacity: 1; ...

Read More

Print left rotation of array in O(n) time and O(1) space in C Program.

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 243 Views

We are given an array of some size n and multiple integer values, we need to rotate an array from a given index k. Left rotation means moving elements to the left by k positions, where elements that go beyond the beginning wrap around to the end. We want to rotate an array from an index k like − Array Left Rotation by k=2 Original Array: 1 2 3 ...

Read More

Hinge Animation Effect with CSS

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 213 Views

The CSS hinge animation effect simulates a door-like swinging motion that ends with the element falling off the screen. This animation is commonly used for exit effects or removing elements with a realistic physics-based movement. Syntax .element { animation-name: hinge; animation-duration: 2s; animation-fill-mode: both; } @keyframes hinge { /* Animation keyframes */ } How Hinge Animation Works The hinge animation consists of three main phases − Swing phase: Element rotates back and forth around its ...

Read More

Print k different sorted permutations of a given array in C Program.

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 273 Views

Given an array containing N integers, the challenge is to print k different permutations of indices such that the values at those indices form a non-decreasing sequence. Print -1 if it is not possible. Syntax void findSortedPermutations(int arr[], int n, int k); Algorithm The approach works by sorting the array while keeping track of original indices. If any two consecutive elements are equal, they can be swapped to generate different permutations − Create pairs of (value, original_index) for each array element Sort the pairs by value to get the first permutation Count ...

Read More

Create blurred picture or text with CSS Filters

Yaswanth Varma
Yaswanth Varma
Updated on 15-Mar-2026 534 Views

Users find websites with blurred backgrounds or text visually appealing. CSS filters provide a simple way to create blurred effects on images or text, enhancing visual appeal and achieving specific design aesthetics. The filter property allows you to apply various visual effects including blur, brightness, and contrast adjustments. Syntax /* Basic blur syntax */ filter: blur(radius); /* Text shadow blur syntax */ text-shadow: h-offset v-offset blur-radius color; Method 1: Using CSS Filter Property The filter: blur() function applies a Gaussian blur to any element. The blur radius determines how many pixels blend into ...

Read More

Print index of columns sorted by count of zeroes in the Given Matrix in C Program.

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 203 Views

Given a matrix of size NxM where N is the number of rows and M is the number of columns, we need to print the column indices sorted by the count of zeros in each column. This means we first count zeros in each column, then sort the columns based on these counts, and finally print the column indices (1-based indexing). For example, if column 1 contains 1 zero, column 2 contains 0 zeros, and column 3 contains 2 zeros, the result should be − 2 1 3 (sorted by zero count: 0, 1, 2). Syntax ...

Read More

CSS Chroma Filter

Anvi Jain
Anvi Jain
Updated on 15-Mar-2026 3K+ Views

The CSS chroma filter is a legacy Internet Explorer-specific filter that was used to make a particular color transparent. This filter is not supported in modern browsers and has been replaced by CSS3 properties like background-color: transparent and opacity. Syntax filter: chroma(color=colorvalue); Legacy Browser Support Note: The chroma filter only worked in Internet Explorer and is now obsolete. Modern browsers do not support this property. Important: This filter is deprecated and should not be used in modern web development. Use CSS3 alternatives instead. Example: Legacy Chroma Filter (IE Only) ...

Read More

CSS play-during property

Samual Sam
Samual Sam
Updated on 15-Mar-2026 108 Views

The CSS play-during property specifies a sound to be played as a background while an element's content is spoken. This property is part of the CSS Speech Module and is primarily used for screen readers and other assistive technologies. Syntax selector { play-during: value; } Possible Values ValueDescription URIThe sound designated by this is played as a background while the element's content is spoken mixWhen present, this keyword means that the sound inherited from the parent element's play-during property continues to play and the sound designated by the ...

Read More
Showing 21421–21430 of 61,297 articles
Advertisements