JavaByPatel: Data structures and algorithms interview questions in Java

Technical blog and complete tutorial on popular company interview questions with detailed solution and Java program on Data structure, Algorithms, Time and space complexity, Core Java, Advanced Java, Design pattern, Database, Recursion, Backtracking, Binary Tree, Linked list, Stack, Queue, String, Arrays etc asked in companies like Google, Amazon, Microsoft, Facebook, Apple etc. for beginners and professionals.

Tuesday, 31 August 2021

Why Hashtable doesn't allow null key/value while Hashmap does.

›
Why Hashtable doesn't allow null key/value while Hashmap does. In this post we will learn why Hashtable doesn't allow null key and n...
Tuesday, 3 August 2021

Create Linked Lists of all the nodes at each depth in a binary tree.

›
Create Linked Lists of all the nodes at each depth in a binary tree. Creating linked list of Nodes at same level in a Binary tree is same as...
Monday, 2 August 2021

Find Inorder successor of a Node in BST

›
Find Inorder successor of a Node in BST . Inorder traversal of a Binary Tree reads a Left most element first then a middle or root element a...
Wednesday, 21 July 2021

Min Heap and Max Heap in Java

›
Min Heap and Max Heap in Java . In this post we will see what is Min Heap, Max Heap, the operation it supports and the time and space comple...
Saturday, 17 July 2021

Find the angle between the hour and minute hands in Java

›
Find the angle between the hour and minute hands on an analog clock. Given the time, calculate the smaller angle between the hour and minute...
Friday, 2 July 2021

Visitor Design Pattern real world example in Java

›
Visitor Design Pattern real world example in Java In this post we will see when to use visitor design pattern and the real life example of v...
Monday, 9 November 2020

Swagger OpenAPI REST Java Example using Guice and Jersey

›
Swagger OpenAPI REST API Java Example using Guice and Jersey In this post we will see how to integrate Swagger in Guice and Jersey to dynami...
Friday, 2 October 2020

Create Docker Image of Spring Boot Microservices using Fabric8 maven plugin.

›
Create Docker Image of Spring Boot Microservices using Fabric8 maven plugin . In this post we will see how to create a Docker image of Sprin...
›
Home
View web version
Powered by Blogger.