Artificial Intelligence

MiniMax Algorithm

Posted on

Hello people! In this post we will look at one of the most basic Artificial Intelligence algorithm, the MiniMax algorithm. MiniMax algorithm is used to implement basic AI or game logic in 2 player games. The most common scenario is implementing a perfect Tic-Tac-Toe player. So, in this article we will look at how to […]


Java Tutorials – Inheritance

Posted on

Hello, people…! In this post, we will explore the next part of object oriented programming in Java which is Inheritance. Inheritance Inheritance is a feature of object oriented programming which allows a class to be created from an existing class. More formally, inheritance is the process by which the new child subclass automatically includes any […]

Tree Data Structures

Compressed Trie Tree

Posted on

Hello, people! In this post, we will discuss a commonly used data structure to store strings, the Compress Trie Tree, also known as Radix Tree or Patricia (Practical Algorithm to Retrieve Information Coded in Alphanumeric) Tree. If you remember, the problem with a Trie Tree is that it consumes a lot of memory. So, due to […]

Searching Algorithms

Jump Search Algorithm

Posted on

Hello, people…! In this post, we will discuss a new search algorithm, Jump Search, which searches for an element in a sorted array in O(√N) time. It is slower than binary search, then why learn it? What if the interviewer purposely asks you to write a search algorithm with O(√N) worst case complexity? You would […]