Check if a string is empty or null or not in Java

By Esmail Rahmani

In this tutorial, we will learn how to check if a string is empty or null or not in Java. We call string is empty when it has length zero or have value  “”   it mean.... Read More

Matplotlib Legend

By Sachin Rastogi

In this article, we will learn about the concept of legend() method in matplotlib using Python. A legend can be placed anywhere inside the list or outside the list by a different.... Read More

How to Add A Character To A String in C++

By Aayush Kumaria

Hey, so you probably came here wondering the same question: How to Add a character to a string in C++. The code is simple and is really easy to execute so understanding it wouldn&#.... Read More

Converting a Set into a List in Python

By Jagannath@cr7

In this tutorial, we will learn how to convert a set into a list in Python. A set in Python is an unordered sequence without duplicate elements. Searching of elements is very fast .... Read More

Get last n items from an array in JavaScript

By Faruque Ahamed Mollick

I am again here with a new JavaScript solution. In this tutorial, you are going to learn how to get last n items from an array in JavaScript programming. For example, suppose you h.... Read More

Place or shift all zeros to the extreme right of a number in C++

By Arijit Roychaudhury

In this tutorial, we will learn how to shift or place all zeros to the extreme right of a number in C++. We can solve this problem in linear time complexity using String. So, let u.... Read More

Convert a Python list into a Pandas DataFrame

By Raghu Vuta

In this tutorial, we will learn how to convert a list into a pandas DataFrame in Python in cool and easy ways. I know you are here because you are stuck up with a problem to find u.... Read More

A Decision making program in C++

By Mriganka

Hi there, I have come up with this program that will help you make a decision, whether it is through tossing a coin or maybe rolling dice or through choosing a playable card throug.... Read More