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
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Golomb Sequence | Set 2
Given a number N. The task is to find the first N terms of the Golomb Sequence. Golomb sequence is a non-decreasing integer sequence where the n-th term is equal to the nu...
Read More
Dynamic Programming
DSA
Sum of alternating sign Squares of first N natural numbers
Given a number N, the task is to find the sum of alternating sign squares of first N natural numbers, i.e.,12 - 22 + 32 - 42 + 52 - 62 + ....Examples:Input: N = 2Output: 5...
Read More
Mathematical
maths-perfect-square
Natural Numbers
DSA
TextView widget in Android using Java with Examples
Widget refers to the elements of the UI (User Interface) that helps user interacts with the Android App. TextView is one of many such widgets which can be used to improve ...
Read More
Java
android
Android
Android-View
How to iterate over a 2D list (list of lists) in Java
Given a 2D list, the task is to iterate this 2D list in Java.2D list (list of lists)The 2D list refers to a list of lists, i.e. each row of the list is another list.[ [5,...
Read More
Java
java-list
Traversal
Java-Iterator
Set of Vectors in C++ STL with Examples
Set in STL Sets are a type of associative containers in which each element has to be unique, because the value of the element identifies it. The value of the element canno...
Read More
cpp-vector
Data Structures
C++ Programs
cpp-set
DSA
Count pairs from 1 to N such that their Sum is divisible by their XOR
Given a number[Tex]N[/Tex], the task is to count pairs (x, y) such that their sum (x+y) is divisible by their xor value (x^y) and the condition 1 ? x y ? N holds true.Exa...
Read More
Arrays
Mathematical
Bitwise-XOR
DSA
Priority Queue of Vectors in C++ STL with Examples
Priority Queue in STL Priority queues are a type of container adapters, specifically designed such that the first element of the queue is the greatest of all elements in t...
Read More
Queue
cpp-vector
C++ Programs
cpp-priority-queue
DSA
Count pairs in array such that one element is power of another
Given an array arr[], the task is to count the pairs in the array such that one element is the power of another in each pair.Examples:Input: arr[] = {16, 2, 3, 9}Output: 2...
Read More
Mathematical
maths-power
DSA
How to find the Entry with largest Value in a C++ Map
Given a map in C++, the task is to find the entry in this map with the highest value. Examples:Input: Map = {ABC = 10, DEF = 30, XYZ = 20}Output: DEF = 30Input: Map = {1 =...
Read More
C++
C++ Programs
cpp-map
How to find the Entry with largest Value in a Java Map
Given a map in Java, the task is to find out the entry in this map with the highest value.Illustration:Input : Map = {ABC = 10, DEF = 30, XYZ = 20}Output : DEF = 30Input ...
Read More
Java
java-map
Analysis principles - Analysis Modelling in Software Engineering
Analysis Model is a technical representation of the system. It acts as a link between the system description and the design model. In Analysis Modelling, information, beha...
Read More
Software Engineering
How to add method to String class in JavaScript ?
In this article, the task is to add a method to the String class in JavaScript. There are two approaches that are described with the proper examples:Approaches to add Meth...
Read More
Web Technologies
JavaScript
javascript-string
JavaScript-Questions
PHP | DOMNodeList item() Function
The DOMNodeList::item() function is an inbuilt function in PHP which is used to retrieve a node specified by index.Syntax:DOMNode DOMNodeList::item( int $index )Parameters...
Read More
Web Technologies
PHP-function
PHP
PHP-DOM
PHP | openssl_cipher_iv_length() Function
The openssl_cipher_iv_length() function is an inbuilt function in PHP which is used to get the cipher initialization vector (iv) length. An initialization vector (iv) is a...
Read More
Web Technologies
PHP-function
PHP
How to Rename and Move a File in Golang?
In the Go language, you are allowed to rename and move the existing file to a new path with the help of the Rename() method. This method is used to rename and move a file ...
Read More
Go Language
Golang-File-Handling
1
...
8559
8560
8561
...
11293