Deque in Java with examples

By Abhi Tiwari

What is java.util.Deque? In this blog, you will learn about Java Deque Interface also its declaration, Constructors, etc. Deque (double-ended queue) is generally pronounced as a de.... Read More

Swap two elements in an array in Java

By Abhi Tiwari

In this blog, you will see simple logic to swap the elements of the array, and also you can learn about Java.util.Collections Swap method. Simple Swapping logic in Java public clas.... Read More

How to create a module in Python and import it?

By Varsha Neelamma

Python modules are files containing python codes that define methods, classes and variables. These files have the .py extension and increase the reusability of codes. You must be f.... Read More

C++ String find() function

By Ankur Sinha

In this tutorial, We will be learning about the C++ string find() function. First, let us know something about it. String find() function in C++ String find() function is used to f.... Read More

How to use String format ( ) function in Java

By Subhojeet Ghosh

In this tutorial, we will learn how to use the String format function in Java. Let us go deep into what String formatting is. String formatting can be defined as formatting a Strin.... Read More

How to create an empty DataFrame with column names in Python?

By Varsha Neelamma

Python DataFrame is a data structure involving 2-dimensional labels of different data types in tabular format. For easy understanding, you can simply compare it with structured SQL.... Read More

How to install and check the version of Scikit-Learn on your machine

By Kanduri Jayanth Sri Ram

The most frequently used library in machine learning is scikit-learn. It consists of various features like regression, SVM, train test split, classification, clustering algorithms,.... Read More

Get the last n items from an array in C++

By Aastha Jain

In this tutorial, we will learn how to get the last n items from an array in C++ in an easy way. So let’s get started. How to get the last n items from an array in C++? This .... Read More

Related Posts