Posts by Reetesh Kumar
Author Biographical Info: A passionate programmer who loves taking part in coding competitions and always ready to learn new stuff.
In this tutorial, we’ll learn how to check if leaf traversal of two Binary Trees is the same or not with the help of Python programming. A binary tree is a hierarchical data.... Read More
In this tutorial, we will learn how to count True Booleans in a Python List. There are 2 boolean values present. They are as following: True False Some of the methods to count True.... Read More
In this tutorial, we will learn basic code golfing tricks in Python. Code Golfing means writing a statement or expression using a minimum number of characters. In simple words, we .... Read More
In this tutorial, you are going to learn how to demonstrate Finite Automata using a Program in Java. A finite automaton (FA) is a simple idealized machine used to recognize patter.... Read More
In this tutorial, we’ll learn how to count the number of ways to reach the n’th stair in Python. We need to reach the top of the staircase which has n steps. At each st.... Read More
In this tutorial, we will learn to print Zigzag Pattern in Python. Basically in a Zigzag pattern, we need to print numbers in sequential order in odd rows and reverse order in even.... Read More
In this tutorial, we’ll learn how to sort a nearly sorted array (or K sorted array) in Python. K sorted array means that every element is at most K steps ahead or behind it.... Read More
In this tutorial, we’ll learn the block swap algorithm for array rotation (left) in Java. Consider a given array (a) : 1, 2, 3, 4, 5, 6, 7, 8, 9 After rotatin.... Read More