I have written a lot of java interview questions and this is index posts for all java interview questions. I will keep adding more interview questions to this post. Table of ContentsCore JavaCore java interview …

This is the index post for Core Java tutorial for beginners as well as for experienced programmer. I have written Core Java tutorial from basic to advanced topics.It will definitely help you learn Java in …

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 Output : 1 3*2 4*5*6 10*9*8*7 …

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 array. Check if it is possible to have …

In this post, we will see how to find Inorder Successor in a Binary Search Tree. Table of ContentsProblemSolutionAPPROACH – I :Approach – II: Problem Given a Binary Search Tree and a target node value. …

In this post, we will see about how to find Lowest Common Ancestor of a K-ary Tree in O(Sqrt(height)).We have already seen how to find LCA of n-ary tree in O(n) complexity. Problem Given a …

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 a Histogram and an array of integers representing the height …

Given two Strings A and B. Find the length of the Longest Common Subsequence (LCS) of the given Strings. Subsequence can contain any number of characters of a string including zero or all (subsequence containing …

Kruskal’s Algorithm solves the problem of finding a Minimum Spanning Tree(MST) of any given connected and undirected graph. Table of ContentsWhat is a Minimum Spanning Tree?Why?AlgorithmEdge-1:Edge-2:Edge-3:Edge-4:Edge-5: What is a Minimum Spanning Tree? It is basically …

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 text changes to a file or input from a …

Learn about Kubernetes client libraries in this article by Onur Yılmaz, a software engineer and a Certified Kubernetes Administrator (CKA) who works on Kubernetes and cloud management systems. Kubernetes is an open source project that …

In this post, we will see about Coin Change problem in java. Problem Given an Amount to be paid and the currencies to pay with. There is infinite supply of every currency using combination of …