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
Minimum increments required to make absolute difference of all pairwise adjacent array elements even
Given an array arr[] consisting of N integers, the task is to find the minimum number of array elements required to be incremented to make the absolute difference between ...
Read More
Arrays
Greedy
Mathematical
array-rearrange
DSA
Minimum number of bits required to be flipped such that Bitwise OR of A and B is equal to C
Given three positives integers A, B, and C, the task is to count the minimum number of flipping of bits required in A and B, such that the Bitwise OR of A and B is equal t...
Read More
Bit Magic
Greedy
Mathematical
Bitwise-OR
DSA
Count array elements whose count of divisors is a prime number
Given an array arr[] consisting of N positive integers, the task is to find the number of array elements whose count of divisors is a prime number.Examples:Input: arr[] = ...
Read More
Arrays
Mathematical
sieve
Prime Number
divisors
factor
DSA
Overloading of function-call operator in C++
In this article, we will discuss the Overloading of the function-call operators in C++.The function call operator is denoted by “()” which is used to call function and pas...
Read More
cpp-operator
C++
C++-Operator Overloading
cpp-operator-overloading
C++ Programs
Program to draw a Hut in using OpenGL in C++
In this article, we will discuss how to create a front-facing view of a hut in OpenGL using two basic shapes i.e. triangle and rectangle.Approach: Follow the steps below t...
Read More
TechTips
computer-graphics
Computer Subject
C++
OpenGL
C++ Programs
c-graphics
Write From Home
Integrating Lua in C++
Lua is a high-level, multi-paradigm programming language, mainly used in embedded applications as well as powerful scripting support for existing products. For Example Scr...
Read More
CPP-Library
C++
C++ Programs
How To
Why the value of Golden Ratio is 1.618 and how is it related to Binet's formula ?
Golden Ratio: Two numbers, say A and B are said to be in the golden ratio if their ratio equals the ratio of the sum of two numbers to the larger number, i.e.,Suppose A B...
Read More
Mathematical
Fibonacci
DSA
Draw circles using the polar coordinates and mid-point circle drawing algorithm on the same console using openGL in C++
In this article, the task is to draw circles in two different subwindows using two different algorithms, and the circles are created using a single mouse click.Approach:Th...
Read More
computer-graphics
Computer Subject
C++
OpenGL
C++ Programs
c-graphics
Write From Home
How to toggle play/pause in ReactJS with audio ?
In this article, we will learn to create a play/pause button for an audio file using ReactJS.Prerequisites:NodeJS or NPMReact JSApproach: Take the reference of the audio f...
Read More
Web Technologies
Picked
React-Questions
ReactJS
How to have the class=“selected” depending on what the current page/url is ?
Having class = "selected" depending on what page / URL is. This concept is very important especially when designing a navbar for a website so that visitors on the website ...
Read More
Web Technologies
JavaScript
Picked
HTML
JavaScript-Methods
JavaScript-Questions
How to use CssBaseLine Component in ReactJS ?
In React JS, A CssBaseline component is a collection of HTML elements and attribute style-normalizations. At the head of our document, it is added as CSS reset. This compo...
Read More
Web Technologies
Material-UI
React-Questions
ReactJS
React Native Alert API
In this article, We are going to see how to create an alert in react-native. For this, we are going to use React Native Alert API. It's basically a small window that pops ...
Read More
Web Technologies
Picked
React-Native
React-Native APIs
Animated expanding card using framer-motion and ReactJS
In this article, we are going to learn how to create an animated expanding card using react and framer.Prerequisites:Knowledge of JavaScript (ES6).JavaScript inbuilt metho...
Read More
Web Technologies
CSS-Properties
ReactJS
Framer-motion
GraphQL - Attacks and Security
GraphQL is a query language for APIs, which uses the graph structure to store data. It's like any other REST APIs. Nowadays the GraphQL implementation is very common in ap...
Read More
Computer Subject
Information-Security
Cyber-security
10 Best Unity Books For Game Development[2024]
You must have heard of the fact that not all fingers are the same, but each of the ones is useful when a different condition is met. Similarly, in real life, not all human...
Read More
GBlog
C#
GBlog 2024
1
...
6399
6400
6401
...
11561