Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
Check if each row and column of N*N Grid contains all numbers from 1 to N
Given a square matrix arr[][] of size N * N, the task is to check whether each row and column of a matrix contains all the numbers from 1 to N or not.Examples:Input: arr[]...
Read More
Mathematical
Matrix
DSA
Check if given Array can be made a permutation of 1 to N by reducing elements by half
Given an array nums[] of size N, the task is to check whether the given array can be converted into a permutation of 1 to N after performing given operations any number of...
Read More
Arrays
Greedy
Sorting
Mathematical
Maths
DSA
Count subarrays with elements in alternate increasing-decreasing order or vice-versa
Given an array arr[] of size N, the task is to find the count of subarrays with elements in alternate increasing-decreasing order or vice-versa. A subarray {a, b, c} will ...
Read More
Arrays
Mathematical
subarray
DSA
Minimize difference between maximum and minimum element by decreasing and increasing Array elements by 1
Given an array arr[], consisting of N positive integers. The task is to minimize the difference between the maximum and the minimum element of the array by performing the ...
Read More
Arrays
Greedy
Mathematical
Arrays
DSA
Cache Oblivious Algorithm
Cache oblivious is a way of achieving algorithms that are efficient in arbitrary memory hierarchies without the use of complicated multi-level memory models. Cache oblivio...
Read More
Algorithms
Operating Systems
DSA
C program to set K-th bit of a number N
Given a number N and an integer K, the task is to set the Kth bit of the number N, i.e., if the Kth bit is 0, then set it to 1 and if it is 1 then leave it unchanged.Examp...
Read More
Bit Magic
setBitCount
Mathematical
C Programs
Bitwise-OR
DSA
Program to find sum of elements in a given 2D array
Given a 2D array of order M * N, the task is to find out the sum of elements of the matrix.Examples:Input: array[2][2] = {{1, 2}, {3, 4}};Output: 10Input: array[4][4] = {{...
Read More
Matrix
School Programming
DSA
Find the Nth term of the series 3, 5, 9, 17, 33. . .
Given a positive integer N, the task is to find Nth term of the series-3, 5, 9, 17, 33...till N termsExamples:Input: N = 4Output: 17Input: N = 3Output: 9Approach:Consider ...
Read More
Mathematical
series
DSA
How can JavaScript upload a blob ?
There are many ways to upload a blob (a group of bytes that holds the data stored in a file) in JavaScript, using XMLHttpRequest, Fetch API, jQuery. In this tutorial, we w...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
How to Update Product Prices on WordPress?
WordPress is an open-source Content Management System that is based on PHP and MySql which is used to create a dynamic website. Matt Mullenweg developed WordPress and Wrot...
Read More
Web Technologies
Picked
PHP
Wordpress
PHP-Questions
How to add emoji in HTML document ?
Emojis are the characters from the Unicode character set that look like images or icons ????????????♂️. They can be sized, copied, or pasted like any other character in H...
Read More
Web Technologies
Picked
HTML
HTML-Questions
Which attribute is used to disabled the specific input field in HTML Form ?
HTML5 introduced many attributes that are used for developing an efficient webpage.In this article, we will learn to disable the particular input field by using the "disab...
Read More
Web Technologies
Picked
HTML
Differentiate between <th> & <thead> tags in HTML Table
In this article, we'll be differentiating the th tag and thead tag used in HTML. Before going forward, we must know that both the tags are used to give the headers in the ...
Read More
Web Technologies
Picked
HTML-Tags
HTML
HTML-Questions
How to declare namespace in JavaScript ?
The coding standard of assigning scope to identifiers (names of types, functions, variables, and so on) to avoid conflicts between them is known as a namespace. It is a fr...
Read More
Web Technologies
JavaScript
Picked
JavaScript-Questions
How to create a text that permit to send email in HTML document when button is clicked ?
In this article, we will learn How to create the text that permits sending the email in the HTML document when the button is clicked. We can simply create a form that can ...
Read More
Web Technologies
Picked
HTML
HTML-Questions
1
...
5015
5016
5017
...
11561