Posts by Ekta Sharma

Author Biographical Info: Not available

Find missing elements of a range in C++

By Ekta Sharma

In this tutorial, we will learn how to find missing elements of a range in C++. Here, we will be given an array of elements and two numbers. We will have to find all the missing nu.... Read More

Sorting a stack using stl in C++

By Ekta Sharma

In this tutorial, we will learn how to sort a stack using stl in C++. Hence first we will learn about stl. Tutorial to sort a stack using standard template library in C++ STL stand.... Read More

How to randomly select items from a list in Java

By Ekta Sharma

In this tutorial, we will learn how to randomly select items from a list in Java. A list in Java is an interface that is present in the util package and inherits the collection int.... Read More

How to stop a running thread in Java

By Ekta Sharma

In this tutorial, we will learn what is thread and how can we stop a running thread in Java. Threads are part of multithreading in Java that are used to execute multiple blocks of .... Read More

Find K’th largest element in a stream in Java

By Ekta Sharma

In this tutorial, we will find the K’th largest element in an input stream in Java. We will know what is an input stream and how we can find K’th largest element in an .... Read More

Arrays.fill() in Java with examples

By Ekta Sharma

In this tutorial, we will understand Arrays.fill() in Java. Fill is a method of Arrays class in Java. Now let’s understand these terms. Understanding Arrays.Fill() in Java us.... Read More

How to Merge two binary Max Heaps in Java

By Ekta Sharma

Hey! In this tutorial, we are going to learn how to merge two binary Max Heaps in Java. Before the actual procedure, We will be learning what are Max heaps, what does Binary Max he.... Read More

How to Merge two binary Max Heaps in C++

By Ekta Sharma

Hey! In this tutorial, we are going to learn how to merge two binary Max Heaps in C++. Before the actual procedure, We will be learning what are Max heaps, what does Binary Max hea.... Read More

Related Posts