Blog: Java tutorial for beginners (Arpit Mandliya) 
230 blogs
updated: 29 min. ago


Print pyramid pattern: 1 3*2 4*5*6 pattern in java
In this post, we will see how to print the following pyramid pattern. Problem Input : n = 4 Output : 1 3*2 4*5*6 10*9*8*7Input : n = 5 Outpu...


Check if it is possible to reach end of given Array by Jumping
Problem Given an array with positive integers as elements indicating the maximum length of a jump which can be made from any position in the...


Inorder Successor in a Binary Search Tree
In this post, we will see how to find Inorder Successor in a Binary Search Tree. Problem Given a Binary Search Tree and a target node value....


LCA of a Kary Tree in O(Sqrt(height))
In this post, we will see about how to find Lowest Common Ancestor of a Kary Tree in O(Sqrt(height)).We have already seen how to find LCA o...


Largest Rectangular Area in a Histogram
In this post, we will see about how to find largest rectangular area in a Histogram. Problem Given an Integer representing number of bars in...


Longest common Subsequence in java
Given two Strings A and B. Find the length of the Longest Common Subsequence (LCS) of the given Strings. Subsequence can contain any number ...


Kruskal's Algorithm for finding Minimum Spanning Tree
Kruskal's Algorithm solves the problem of finding a Minimum Spanning Tree(MST) of any given connected and undirected graph. What is a Minimu...


Count subtrees with Sum equal to target in binary tree
In this post, we will see about how to count subtrees with Sum equal to target in binary tree Problem Given a Binary tree and an integer. Yo...


Sed Command in unix
Sed (Stands for stream editor) is a command line utility to modify each line of a file or stream matching a specified string. It makes basic...


Kubernetes Client Libraries
Learn about Kubernetes client libraries in this article by Onur Y lmaz, a software engineer and a Certified Kubernetes Administrator (CKA) w...

