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
Find N Arithmetic Means between A and B
Given three integers A, B and N the task is to find N Arithmetic means between A and B. We basically need to insert N terms in an Arithmetic progression. where A and B are...
Read More
Mathematical
series
statistical-algorithms
arithmetic progression
DSA
Puzzle | Bilateral Conversations
There are n students in a class, each in possession of a different personality attribute. As they are new in the school, so they want to know about each other. To help the...
Read More
Puzzles
Analytical Mathematical Puzzles
Introduction to Dynamic Programming on Trees
Dynamic Programming(DP) is a technique to solve problems by breaking them down into overlapping sub-problems which follows the optimal substructure. There are various prob...
Read More
Tree
Algorithms
Dynamic Programming
Advanced Data Structure
DSA
Python int() Function
Python int() function returns an integer from a given object or converts a number in a given base to a decimal.Example:In this example, we passed a string as an argument t...
Read More
Python
Python-Built-in-functions
Z-Buffer or Depth-Buffer method
When viewing a picture containing non transparent objects and surfaces, it is not possible to see those objects from view which are behind from the objects closer to eye. ...
Read More
Misc
Technical Scripter
computer-graphics
A-Buffer Method
Prerequisite : depth-buffer (or Z Buffer) methodA-Buffer method in computer graphics is a general hidden face detection mechanism suited to medium scale virtual memory com...
Read More
Misc
Technical Scripter
computer-graphics
Mathematics | Probability Distributions Set 4 (Binomial Distribution)
The previous articles talked about some of the Continuous Probability Distributions. This article covers one of the distributions which are not continuous but discrete, na...
Read More
GATE CS
Engineering Mathematics
Find middle of singly linked list Recursively
Given a singly linked list and the task is to find the middle of the linked list.Examples:Input : 1-2-3-4-5 Output : 3Input : 1-2-3-4-5-6Output : 4We have already discu...
Read More
Linked List
Recursion
DSA
Stream flatMapToLong() in Java with examples
Stream flatMapToLong(Function mapper) applies given mapper function to each element of a stream and returns a LongStream. Stream flatMapToLong(Function mapper) is an inter...
Read More
Misc
Java
Technical Scripter
Java - util package
Java-Functions
java-stream
Java-Stream interface
Stream flatMapToDouble() in Java with examples
Stream flatMapToDouble(Function mapper) returns an DoubleStream consisting of the results of replacing each element of this stream with the contents of a mapped stream pro...
Read More
Java
Technical Scripter
Java - util package
Java-Functions
java-stream
java-intstream
Stream flatMap() in Java with examples
Stream flatMap(Function mapper) returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applyi...
Read More
Misc
Java
Technical Scripter
Java - util package
java-stream
Mathematics | Probability Distributions Set 3 (Normal Distribution)
The previous two articles introduced two Continuous Distributions: Uniform and Exponential. This article covers the Normal Probability Distribution, also a Continuous dist...
Read More
GATE CS
Engineering Mathematics
Mathematics | Probability Distributions Set 2 (Exponential Distribution)
The previous article covered the basics of Probability Distributions and talked about the Uniform Probability Distribution. This article covers the Exponential Probability...
Read More
GATE CS
Engineering Mathematics
Stream mapToDouble() in Java with examples
Stream mapToDouble (ToDoubleFunction mapper) returns a DoubleStream consisting of the results of applying the given function to the elements of this stream.Stream mapToDou...
Read More
Misc
Java
Technical Scripter
Java - util package
Java-Functions
java-stream
Java-Stream interface
Puzzle | Game of Brussels Sprouts
Given n number of spots, and two players. Players need to connect any two spots without intersecting any of the drawn line, the player who cannot give a move, loses. Deter...
Read More
Misc
Puzzles
1
...
11463
11464
11465
...
11582