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

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

Find a peak element in a given array in Python

By Ekta Sharma

Hello, in this tutorial we will learn how to find the peak element in a given array in python. Now, you must be wondering what is the peak element in an array? can there be more th.... Read More