Fiest Tech Pioneer interview experience Real time questions & tips from candidates to crack your interview

Java Developer

Fiest Tech Pioneer
upvote
share-icon
2 rounds | 9 Coding problems

Interview preparation journey

expand-icon
Journey
I consistently reviewed the notes and study material from the Coding Ninjas course to strengthen my conceptual understanding. Alongside this, I maintained a disciplined routine of practicing at least two coding questions every day for a duration of one and a half months. This regular practice helped me improve my problem-solving speed, reinforce core concepts, and gain confidence in applying Data Structures and Algorithms to different types of problems.
Preparation
Topics: DSA, Java, Springboot
Application process
Where: Coding Ninjas Placement Cell
Eligibility: NA, (Salary range: 7-20 LPA)

Interview rounds

01
Round
Medium
Online Coding Interview
Duration
Interview date9 Jul 2025
Coding problem3

1. Find a Peak Element in an Array

Description:
You are given an array of integers. A peak element is an element that is strictly greater than its immediate neighbors. For boundary elements (the first and last elements), only one neighbor needs to be considered. Your task is to write a function that finds and returns any one peak element from the array.

Constraints:

The array contains at least one element.

Example:

Input: [1, 3, 20, 4, 1, 0]

Output: 20

Explanation: 20 is greater than both 3 and 4, so it is considered a peak element.

2. Many-to-One and Many-to-Many Relationships in Relational Databases

Identify and explain the differences between many-to-one and many-to-many relationships in relational databases, and describe how they are represented in database schema design.

Problem approach

Please provide practical examples and explain how many-to-one and many-to-many relationships are typically implemented in relational databases using foreign keys and junction tables.

3. Difference Between Writing Order and Execution Order in Programming

Explain how the sequence in which code is written (writing order) may differ from the sequence in which it is actually executed (execution order). Highlight how control flow constructs, function calls, and asynchronous operations can cause deviations between the two.

02
Round
Medium
Online Coding Interview
Duration
Interview date10 Jul 2025
Coding problem6

1. Designing an Entity in a Spring Boot Application

Explain how to design an entity class in a Spring Boot application. Describe the key components involved, including commonly used JPA annotations (such as @Entity, @Table, @Id, @GeneratedValue, @Column), how the entity maps to a database table, and best practices to follow when defining entity classes (e.g., using proper data types, meaningful class and field names, avoiding business logic inside entities, and implementing Serializable when needed).

2. Functional Interfaces and Lambda Expressions in Java

Explain what a functional interface is in Java, including its characteristics (an interface with exactly one abstract method). Describe how lambda expressions can be used with functional interfaces to provide a clear and concise way of implementing the abstract method, thereby reducing boilerplate code compared to traditional anonymous classes.

3. HTTP Methods in RESTful APIs and Data Extraction in Spring Boot

Describe the common HTTP methods used in RESTful APIs (GET, POST, PUT, DELETE, PATCH) and their corresponding Spring Boot annotations for mapping requests (@GetMapping, @PostMapping, @PutMapping, @DeleteMapping, @PatchMapping). Additionally, explain how data can be extracted from the URL in Spring Boot using path variables (via @PathVariable) and query parameters (via @RequestParam).

4. Running a Program Without a Main Method

Discuss whether it is possible to run a program without a main method, and if so, explain the scenarios where this can occur. Include examples such as the use of static initialization blocks in older versions of Java, execution within frameworks (e.g., JUnit tests, Spring Boot applications) where the framework provides the entry point, and environments that interpret code differently (such as scripting languages).

5. Internal Working of HashMap and Collision Handling Techniques

Explain how a HashMap works internally, including how keys are hashed to determine the index in an array (bucket) and how entries are stored as key-value pairs. Describe what collisions are—situations where multiple keys hash to the same index—and why they occur. Additionally, discuss the common collision resolution techniques such as chaining (linked lists or balanced trees in modern Java) and open addressing (probing strategies), along with their advantages and trade-offs.

6. Polymorphism in Object-Oriented Programming

Explain the concept of polymorphism in object-oriented programming, where the same interface or method can represent different underlying forms (data types or implementations). Describe the two main types of polymorphism: compile-time (method overloading) and runtime (method overriding), highlighting that runtime polymorphism commonly arises from inheritance. Provide relevant examples to illustrate how polymorphism enhances code flexibility, reusability, and maintainability.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Java Developer
3 rounds | 20 problems
Interviewed by Ernst & Young (EY)
9061 views
2 comments
0 upvotes
company logo
Java Developer
3 rounds | 4 problems
Interviewed by SAP Labs
3148 views
0 comments
0 upvotes
company logo
Java Developer
2 rounds | 2 problems
Interviewed by HCL Technologies
7165 views
0 comments
0 upvotes