Blog: Tech Stack Journal 
212 blogs
updated: 28 min. ago


Linear Search
A linear search is the simplest form of search in an array of elements. We can perform a linear search in three distinct ways based on the o...


Binary Search
What is Binary Search? Binary search is the fast method of searching for an element in an array. In this approach, we need the array in sort...


Selection Sort
Overview Selection sort is the most basic way of sorting an Array. We compare each element with its subsequent elements and swap them if one...


Binary Search in Java
Binary search is the fast method of searching for an element in an array. In this approach, we need the array in sorted order. In Binary sea...


Linear Search in Java
A linear search is the simplest form of search in an array of elements. We can perform a linear search in three distinct ways based on the o...


LCM and GCD of Two Numbers in Java
LCM of Two Numbers in Java Let's start discussing how to find LCM of two numbers in Java. We can find LCM in 2 ways: (1) by iterating over a...


Docker Swarm on Play with Docker
Play with Docker If you are learning docker or if you want to try out a quick thing in docker, Play with Docker is the best place to do it. ...


Finding Maximum of Three Numbers in Java
In this post, we will see 2 variations of finding maximum of 3 numbers in Java: (A) Max value of 3, (B) Max variable of 3 numbers. Max Value...


Addition of Two Numbers in Java
We will solve this basic problem of the addition of two numbers in three ways, first by using a Scanner, second by using BufferedReader, and...


Average of n Numbers in Java
In this post, we'll see various ways of calculating average of n numbers in Java.1) Average of 3 input numbers2) Average of n numbers input ...

