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
JavaScript Boolean valueOf() Method
The boolean.valueOf() method is used to return a boolean value either "true" or "false" depending upon the value of the specified boolean object.Syntax:boolean.valueOf()Pa...
Read More
Web Technologies
JavaScript
JavaScript-Boolean
JavaScript-Methods
C++ Programming and STL Facts
C++ is widely used for competitive programming. It is preferred because of its reliability, efficient execution, short snippets, etc. It has become adaptive by most coders...
Read More
Misc
STL
cpp-string
C++
cpp-set
cpp-pair
JavaScript Object freeze() Method
The Object.freeze() method is used to freeze an object. Freezing an object does not allow new properties to be added to the object and prevents removing or altering the ex...
Read More
Web Technologies
JavaScript
javascript-object
JavaScript-Methods
C program for file Transfer using UDP
Data can be transferred between two computers using Socket programming in C.Similarly, files can easily be sent using UDP protocol and a simple client/server.Security: Han...
Read More
Computer Networks
C Programs
Maximum and Minimum Values of an Algebraic Expression
Given an algebraic expression of the form (x1 + x2 + x3 + . . . + xn) * (y1 + y2 + . . . + ym) and(n + m) integers. Find the maximum and minimum value of the expression us...
Read More
Dynamic Programming
Mathematical
Matrix
Technical Scripter
DSA
PHP chunk_split() Function
The chunk_split() function is a built-in function in PHP. The chunk_split() function is used to split a string into smaller chunks of a specific length.Syntax:string chunk...
Read More
Web Technologies
PHP-string
PHP
JavaScript Object isFrozen() Method
Object.isFrozen() Method: Among the Object constructor methods, there is a method Object.isFrozen() which is used to determine if an object is frozen or not.An object is f...
Read More
Web Technologies
JavaScript
javascript-object
javaScript
JavaScript-Methods
Atomics.and() In JavaScript
What is Atomics?Atomics is an object in JavaScript that provides the ability to perform atomic operations as static methods.Just like the Math object in JavaScript all the...
Read More
Technical Scripter
Web Technologies
JavaScript
JavaScript-atomics
javascript-functions
JavaScript Object assign() Method
The Object.assign() method is used to copy the values and properties from one or more source objects to a target object. It invokes getters and setters since it uses both ...
Read More
Web Technologies
JavaScript
javascript-object
JavaScript-Methods
Determinant of N x N matrix using multi-threading
Given a matrix of N x N, task is to find the determinant of the matrix using multi-threading.Examples :Input : mat = {{0, 4, 0, -3}, {1, 1, 5, 2}, ...
Read More
C++
system-programming
Linux-Unix
cpp-multithreading
Sorting a Queue without extra space
Given a queue with random elements, we need to sort it. We are not allowed to use extra space. The operations allowed on queue are :enqueue() : Adds an item to rear of que...
Read More
Misc
Queue
Sorting
cpp-queue
DSA
Schedule jobs so that each server gets equal load
There are n servers. Each server i is currently processing a(i) amount of requests. There is another array b in which b(i) represents the number of incoming requests that ...
Read More
Arrays
Greedy
DSA
IntStream forEachOrdered() method in Java
IntStream forEachOrdered(IntConsumer action) performs an action for each element of this stream in encounter order. IntStream forEachOrdered(IntConsumer action) is a termi...
Read More
Misc
Java
Java - util package
Java-Functions
java-stream
java-intstream
IntStream sequential() in Java
IntStream sequential() returns a sequential IntStream. It may return itself, either because the stream was already sequential, or because the underlying stream state was m...
Read More
Misc
Java
Java - util package
Java-Functions
java-stream
java-intstream
IntStream summaryStatistics() in Java
IntStream summaryStatistics() returns an IntSummaryStatistics describing various summary data about the elements of this stream like count of number of elements in the Int...
Read More
Misc
Java
Java - util package
java-stream
java-intstream
1
...
11420
11421
11422
...
11561