Blackjack console game using Python

By Rohan Harish

In this tutorial, let’s explore how to code a console playable blackjack game using Python with an easy approach to understand the flow of the game. Blackjack is a simple car.... Read More

StringBuilder vs StringBuffer in Java

By Lunavath Suresh

In Java, to represent strings, there are three ways: String, StringBuffer, and StringBuilder. Strings are immutable(once created cannot be changed) in Java, whereas StringBuffer an.... Read More

Smallest Sum Contiguous Subarray in Python

By Shrimad Mishra

What is Subarray? Subarray is the slice from the given array which is contiguous(i.e occupy consecutive positions). It inherently maintains the order of the elements. Let us take a.... Read More

How to fetch data from public API using JavaScript?

By Anil Kumar Sharma

In this tutorial, we will learn how to fetch data from public API in JavaScript. What is the use of an API? Basically, API specifies how two-component should interact with each oth.... Read More

Time Events in JavaScript with example – Create Stopwatch

By Anil Kumar Sharma

In this tutorial, we will learn how to create a digital stopwatch in JavaScript using time events. What are time events in JavaScript Timing events allow you to execute a particula.... Read More

Print the Nodes at the given distance K from the given Node in Python

By Shrimad Mishra

Our task is to Print the Nodes at the given distance K from the given Node in Python. In Python, we can make use of the inbuild modules of the tree to do this task. But I use the b.... Read More

Equal Subset Sum Partition of Array or List in Python

By Amrit Pratyay

In this article, we will see if the given array/list can be partitioned into two subsets such that both have equal sums in Python. It means we will do a partition in an array or li.... Read More

Chat Bot Using NLTK in Python

By Shrimad Mishra

Hi, guys in this post we are going to learn how to make a Chat-Bot using NLTK in Python. In this topic, we will be coming across many new things. First of all What is the NLTK? NLT.... Read More