Tech Tutorials

Tutorials and posts about Java, Spring, Hadoop and many more. Java code examples and interview questions. Spring code examples.

Wednesday, October 29, 2025

Insertion Sort Program in Java

›
In this post we’ll see how to write Insertion sort program in Java. Insertion sort is good for sorting a small set of elements. Out of the ...

What is In-place Algorithm

›
An in-place algorithm is an algorithm that doesn’t use any auxiliary space to transform the input. Though theoretically that would mean if...

Java Program - Breadth First Search (BFS) Traversal For Graph

›
In this post we'll see how to write a Java program for breadth-first search (BFS) traversal of a graph. Graph traversal To traverse a...
Sunday, October 26, 2025

String Slicing in Python

›
String in Python is stored as an array so array indexing can be used to access characters of a String, for example str[0] returns first c...

Check String Empty or Not in Python

›
If you need to check if a String is empty or not in Python then you have the following options. 1. Using len() function to check if Strin...
Thursday, October 23, 2025

Java Program - Depth First Search (DFS) Traversal For Graph

›
In this post we'll see how to write a Java program for depth-first search (DFS) traversal of a graph. Graph traversal To traverse a ...
Friday, October 17, 2025

Java Program to Find The Frequency of Array Elements

›
In this post we'll see how to write Java program to find the frequency of elements in an array. For example- Input: int[] nums = {1,...
›
Home
View web version
Powered by Blogger.