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
IntStream concat() in Java
IntStream concat() method creates a concatenated stream in which the elements are all the elements of the first stream followed by all the elements of the second stream. T...
Read More
Misc
Java
Java - util package
Java-Functions
java-stream
java-intstream
IntStream filter() in Java with examples
IntStream filter(IntPredicate predicate) returns a stream consisting of the elements of this stream that match the given predicate. This is an intermediate operation. Thes...
Read More
Misc
Java
Java - util package
Java-Functions
java-stream
java-intstream
IntStream findAny() with examples
IntStream findAny() returns an OptionalInt (a container object which may or may not contain a non-null value) describing some element of the stream, or an empty OptionalIn...
Read More
Misc
Java
Java - util package
Java-Functions
java-stream
java-intstream
Rotate Doubly linked list by N nodes
Given a doubly-linked list, rotate the linked list counter-clockwise by N nodes. Here N is a given positive integer and is smaller than the count of nodes in linked list.N...
Read More
Linked List
Amazon
rotation
doubly linked list
DSA
IntStream allMatch() in Java with examples
IntStream allMatch(IntPredicate predicate) returns whether all elements of this stream match the provided predicate. It may not evaluate the predicate on all elements if n...
Read More
Misc
Java
Java - util package
Java-Functions
java-stream
java-intstream
Rank of an element in a stream
Given a stream of integers, look up the rank of a given integer x. The rank of an integer in-stream is "Total number of elements less than or equal to x (not including x)"...
Read More
Arrays
Misc
Binary Search Tree
DSA
Sorting all array elements except one
Given an array, a positive integer, sort the array in ascending order such that the element at index K in the unsorted array stays unmoved and all other elements are sorte...
Read More
Arrays
Sorting
DSA
Associative arrays in C++
Associative arrays are also called map or dictionaries. In C++. These are special kind of arrays, where indexing can be numeric or any other data typei.e can be numeric 0,...
Read More
Technical Scripter
Competitive Programming
STL
C++
cpp-map
DSA
PHP array_walk() Function
The array_walk() function is an inbuilt function in PHP. The array_walk() function walks through the entire array regardless of pointer position and applies a callback fun...
Read More
Web Technologies
PHP-array
PHP
Find the winner in nim-game
You are given an array A[] of n-elements. There are two players Alice and Bob. A Player can choose any of element from array and remove it. If the bitwise XOR of all remai...
Read More
Bit Magic
Bitwise-XOR
Game Theory
DSA
n-th number whose sum of digits is ten
Given an integer value n, find out the n-th positive integer whose sum is 10.Examples:Input: n = 2Output: 28The first number with sum of digits as10 is 19. Second number i...
Read More
Mathematical
number-digits
arithmetic progression
DSA
Reading an image in OpenCV using Python
Prerequisite: Basics of OpenCVIn this article, we'll try to open an image by using OpenCV (Open Source Computer Vision) library. Following types of files are supported in ...
Read More
Python
Image-Processing
OpenCV
Python-OpenCV
atan2() function in Python
atan2(y, x) returns value of atan(y/x) in radians. The atan2() method returns a numeric value between -[Tex]\pi[/Tex] and [Tex]\pi[/Tex] representing the angle [Tex]\thet...
Read More
Python
Python-Built-in-functions
IntStream generate() method in Java
IntStream generate(IntSupplier s) returns an infinite sequential unordered stream where each element is generated by the provided IntSupplier(a supplier of int-valued resu...
Read More
Misc
Java
java-stream
java-intstream
PHP array_replace_recursive() Function
The array_replace_recursive() is an inbuilt function in PHP that replaces the values of the first array with the values from following arrays recursively. It performs the ...
Read More
Web Technologies
PHP-array
PHP
1
...
11201
11202
11203
...
11360