Blog Archives

1. Set up environment for home coding assignments

Step 1: Setup Java, Maven, and SonarQube

1. Java: Latest possible version. Setting up Java, Maven, and eclipse.

2. Maven 3: For building. Setting up Java, Maven, and eclipse.

3. SonarQube: For code quality. SonarQube with Maven Tutorial – Code Quality for Java developers.

4. Jococo SonarQube: For unit test coverage.…



2. Implement an in-memory LRU cache in Java with TTL

Q: Implement an in-memory cache in Java without using any frameworks. The basic requirements are – The TTL (Time To Live) for the cache items are ~10 seconds [just for…



3. Multi-Threading – Create a simple framework where work items can be submitted

Q: Create a simple framework where work items can be submitted using Java 8 or later. Here are the use cases: #1: A work item is an instance of a…



4a. 10-digit phone number to produce a list of words matching first letters of the phone number

Q: Write a program that takes any 10-digit phone number and produces a list of words matching first letters of the phone number (2 – ABC, 3 – DEF, …..



4b. FP approach 10-digit phone number to produce a list of words matching first letters of the phone number

This makes use of the Functional Programming (FP) approach. Q: Write a program that takes any 10-digit phone number and produces a list of words matching first letters of the…



800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials

Top