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
Count numbers having GCD with N equal to the number itself
Given a positive integer N, the task is to find the number of positive integers whose GCD with the given integer N is the number itself.Examples:Input: N = 5Output: 2Expla...
Read More
Greedy
Mathematical
divisibility
HCF
factor
DSA
Sum of an Infinite Geometric Progression ( GP )
Given two integers A and R, representing the first term and the common ratio of a geometric sequence, the task is to find the sum of the infinite geometric series formed b...
Read More
Mathematical
series
series-sum
Geometric Progression
Sequence and Series
DSA
Program to find the Eccentricity of a Hyperbola
Given two integers A and B, representing the length of the semi-major and semi-minor axis of a Hyperbola of the equation (X2 / A2) - (Y2 / B2) = 1, the task is to calculat...
Read More
Mathematical
Geometric
Coordinate Geometry
DSA
How to write Into a File in PHP ?
In this article, we are going to discuss how to write into a text file using the PHP built-in fwrite() function.The fwrite() function is used to write into the given file....
Read More
Web Technologies
PHP-function
PHP-file-handling
Picked
PHP
PHP-Questions
How to transform child elements to preserve the 3D transformations ?
In this article, we will learn how to transform child elements to preserve the 3D transformation. The CSS transform-style property is used to transform child elements to p...
Read More
Web Technologies
Picked
CSS-Properties
CSS
CSS-Questions
How to set the order of flexible items using CSS ?
The purpose of the article is to set the order of the flexible items using CSS. You can achieve this task by using the CSS order property.CSS order Property: This property...
Read More
Web Technologies
Picked
CSS-Properties
CSS
CSS-Questions
How to escape everything in a block in HTML ?
Escaping is a method that permits us to inform a computer to try to do something special with the text we supply or to ignore the special function of an element. There are...
Read More
Web Technologies
Picked
HTML-Tags
HTML-Basics
HTML
HTML-Questions
How to detect device and swap the CSS file ?
When creating a webpage, the most important thing is the user experience with the frontend, especially the designing part or CSS. For a smooth experience, a frontend devel...
Read More
Web Technologies
Picked
CSS
CSS-Questions
How to convert String to Float in PHP ?
Strings in PHP can be converted to float very easily. In most use cases, it won’t be required since PHP does implicit type conversion. There are many methods to convert a ...
Read More
Web Technologies
PHP-function
Picked
PHP
PHP-Questions
How to replace String in PHP ?
In this article, we are going to replace the String with another by using the PHP built-in str_replace() function.A String is a collection of characters. The str_replace()...
Read More
Web Technologies
PHP-string
PHP-function
Picked
PHP
PHP-Questions
How to set visibility property of an element in CSS ?
Visible property is used to specify whether an element is visible or not in a web document, but the hidden elements take up space in the web document. You can set the visi...
Read More
Web Technologies
Picked
CSS-Basics
CSS-Properties
CSS
CSS-Questions
How to pass multiple JSON Objects as data using jQuery's $.ajax() ?
The purpose of this article is to pass multiple JSON objects as data using the jQuery $ajax() method in an HTML document.Approach: Create a button in an HTML document to s...
Read More
Web Technologies
JSON
Picked
jQuery-AJAX
JQuery
jQuery-Questions
How to convert an Integer Into a String in PHP ?
The PHP strval() function is used to convert an Integer Into a String in PHP. There are many other methods to convert an integer into a string.In this article, we will lea...
Read More
Web Technologies
PHP-function
PHP
PHP-Questions
How to check if a String Contains a Substring in PHP ?
A string is a collection of given characters and a substring is a string present in a given string.In this article, we are going to check if the given string contains a su...
Read More
Web Technologies
PHP-string
PHP-function
Picked
PHP
PHP-Questions
How to remove specific elements from the left of a given array of elements using JavaScript ?
In this article, we will learn How to remove specific elements from the left of a given array of elements using JavaScript. We have given an array of elements, and we have...
Read More
Web Technologies
JavaScript
javascript-array
Picked
JavaScript-DSA
JavaScript-Methods
JavaScript-Questions
1
...
6335
6336
6337
...
11543