Algorithms

Algorithms are the foundational concepts in programming that are used as specifications for performing calculations, data processing, automated decision-making and other tasks.

In laymen’s terms, an algorithm is a set of instructions to be followed to solve a specific problem in order to get the expected results.

Have a look at how to work with the most well-known algorithms using the Java language.

Related Tags

Tutorials

Checking if Two Strings are Isomorphic

Two string literals are considered isomorphic if we can map every character of the first string to every character of the second string in a one-to-one fashion.

Tail Recursion Vs Non-Tail Recursion

In tail recursion, no other operation is performed after the recursive function call, while in non-tail recursion, an operation is performed on the calculated value.

Jump Search Algorithm

The jump search or block search searches an element into a sorted array by skipping/jumping ahead by a fixed number of elements in each step.

Linear Search Algorithm

Learn linear search algorithm and understand it with an example including best-case and worst-case scenarios with time and space complexity.

Introduction to Recursion

Recursion is a powerful algorithmic technique (divide-and-conquer strategy) in which a function calls itself (either directly or indirectly) on a smaller problem of the same type in order to simplify the problem to a solvable state. 1. What is Recursion? Recursion is an approach for the problems that can be …

Implement Phonetic Search with Soundex Algorithm

Have you ever wondered how spell checkers, in any word editor, suggest you a list of probable other words whenever you have any spelling mistake?? This is done using phonetic search. Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for homophones …

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.