Filter interviews by
JVM stands for Java Virtual Machine, it is an abstract computing machine that enables a computer to run Java programs.
JVM is platform-independent and converts Java bytecode into machine code.
It provides memory management, garbage collection, and security features.
JVM architecture consists of class loader, runtime data areas, execution engine, and native method interface.
A collection in Java is a framework that provides an architecture to store and manipulate a group of objects.
Collections can store objects of different types.
Common collection types include List, Set, and Map.
Collections provide methods for adding, removing, and accessing elements.
Example: List<String> names = new ArrayList<>();
Java is a high-level programming language known for its portability, security, and object-oriented features.
Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM)
It is object-oriented, allowing for modular and reusable code
Java is secure with features like automatic memory management and exception handling
It supports multithreading, allowing for concurrent execution of tasks
Jav...
Java program to find and display the characters that are repeated in a given array of strings.
Iterate through each string in the array
For each string, iterate through each character and store them in a HashMap with character as key and count as value
Print the characters that have count greater than 1
I appeared for an interview in Feb 2025, where I was asked the following questions.
I applied via Naukri.com and was interviewed in Jul 2023. There was 1 interview round.
OOPS (Object-Oriented Programming) is a programming paradigm that uses objects to represent and manipulate data.
OOPS focuses on the concept of objects, which are instances of classes.
It emphasizes encapsulation, inheritance, and polymorphism.
Encapsulation ensures data hiding and abstraction.
Inheritance allows classes to inherit properties and behaviors from other classes.
Polymorphism enables objects to take on multiple...
Strings are a data type used to represent a sequence of characters in Java.
Strings are immutable, meaning they cannot be changed once created.
String literals are enclosed in double quotes, e.g. "Hello World".
Strings can be concatenated using the '+' operator, e.g. "Hello" + "World".
String objects have many useful methods like length(), substring(), etc.
Arrays are a data structure that stores a fixed-size sequence of elements of the same type.
Arrays can be of any data type, including strings.
They have a fixed size, which is determined at the time of declaration.
Elements in an array are accessed using their index, starting from 0.
Arrays can be used to store and manipulate collections of data efficiently.
I applied via Naukri.com and was interviewed in Jul 2022. There were 3 interview rounds.
An aptitude test is an exam used to determine an individual's skill or propensity to succeed in a given activity
Coding assessments, otherwise know as coding challenge or coding skills test
Fresher Than Fresh interview questions for designations
Top trending discussions
I applied via Job Portal and was interviewed in Dec 2024. There was 1 interview round.
Online java assessment test - java, java 8, spring boot, microservices
I applied via Referral and was interviewed in Dec 2024. There were 2 interview rounds.
Data structures and algorithms related to string manipulation in Java.
Use built-in methods like indexOf(), substring(), and charAt() for string manipulation.
Implement algorithms like string reversal, palindrome check, and string matching using DSA concepts.
Consider using data structures like arrays, hashmaps, and linked lists for efficient string operations.
I applied via Indeed and was interviewed in Nov 2021. There were 3 interview rounds.
I applied via Job Portal
Coding questions on String and HashMap
I applied via Job Portal and was interviewed before Apr 2023. There were 2 interview rounds.
Core Java my SQL spring boot
I appeared for an interview before Dec 2020.
Round duration - 60 Minutes
Round difficulty - Medium
There were 2 coding questions given in this round. One was related to Dynamic Programming and the second one was related to Recursion and Number Theory.
Mr. X is a professional robber with a plan to rob houses arranged in a circular street. Each house has a certain amount of money hidden, separated by a security system that ...
House Robber problem where a robber wants to maximize stolen money without robbing adjacent houses in a circular street.
Use dynamic programming to keep track of maximum stolen money at each house.
Consider two cases: either rob the current house and skip the next, or skip the current house.
Handle circular arrangement by considering the first and last houses separately.
Example: For arr[] = {2, 3, 2}, the output is 3. Rob...
Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2)
, with initial conditions F(1) = F(2) = 1
.
Calculate the Nth Fibonacci number efficiently using dynamic programming.
Use dynamic programming to store and reuse previously calculated Fibonacci numbers.
Start with base cases F(1) and F(2) as 1, then calculate subsequent Fibonacci numbers.
Optimize the solution to avoid redundant calculations by storing intermediate results.
Time complexity can be reduced to O(N) using dynamic programming.
Example: For N = 5, the 5th F
Round duration - 50 Minutes
Round difficulty - Medium
Standard Data Structures and Algorithms round where I was given 2 questions to solve , one was from Linked List and the other was related to Priority Queue / Quick Sort .
You are provided with two linked lists, L1
and L2
, both sorted in ascending order. Generate a new linked list containing elements that exist in both linked l...
Given two sorted linked lists, find the intersection of elements in both lists and return a new sorted linked list.
Traverse both linked lists simultaneously to find common elements
Create a new linked list to store the intersecting elements
Ensure the final linked list is sorted in ascending order
Handle cases where there are no common elements between the lists
Ninja enjoys working with numbers, and Alice challenges him to find the Kth largest value from a given list of numbers.
The first line contains an integer 'T...
Find the Kth largest element in a given list of numbers.
Sort the array in descending order.
Return the Kth element from the sorted array.
Handle multiple test cases efficiently.
Round duration - 50 Minutes
Round difficulty - Easy
This round majorly focused on Real life appications of Data Structures and also revolved around Object Oriented Programming Style of writing code .
Design a data structure that supports four operations: insert an element, remove an element, search for an element, and get a random element. E...
Design a data structure with insert, delete, search, and getRandom operations, all in constant time.
Use a combination of HashMap and ArrayList to achieve constant time operations.
For insert operation, add the element to the ArrayList and store its index in the HashMap.
For delete operation, swap the element to be deleted with the last element in the ArrayList, update the index in the HashMap, and then remove the last el...
Design a data structure for a Least Recently Used (LRU) cache that supports the following operations:
1. get(key)
- Return the value of the key if it exists in the cache; otherw...
Design a Least Recently Used (LRU) cache data structure that supports get and put operations with capacity constraint.
Implement a doubly linked list to maintain the order of keys based on their recent usage.
Use a hashmap to store key-value pairs for quick access.
When capacity is reached, evict the least recently used item before inserting a new item.
Update the position of a key in the linked list whenever it is accesse
Round duration - 45 Minutes
Round difficulty - Medium
This round was inclined towards some Low Level Design Principles and some concepts from Java .
Design a Railway Reservation System
Create a database to store train schedules, seat availability, and passenger information
Implement a user interface for users to search for trains, book tickets, and view their reservations
Include features like seat selection, payment processing, and ticket confirmation
Handle scenarios like waitlisting, cancellations, and refunds
Ensure data security and privacy of passenger information
Java is platform-independent because the code is compiled into bytecode that can run on any platform with a JVM, which is platform-dependent due to its reliance on the underlying hardware and operating system.
Java code is compiled into bytecode, which can run on any platform with a JVM.
JVM acts as an interpreter that translates bytecode into machine code specific to the underlying hardware and operating system.
The JVM ...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
based on 5 interviews
Interview experience
based on 3 reviews
Rating in categories
fresher
70
salaries
| ₹1 L/yr - ₹5.3 L/yr |
Software Engineer
7
salaries
| ₹2 L/yr - ₹5 L/yr |
Developer
5
salaries
| ₹2.8 L/yr - ₹3.5 L/yr |
Data Entry Operator
5
salaries
| ₹2 L/yr - ₹3.5 L/yr |
Account Assistant
5
salaries
| ₹1 L/yr - ₹2 L/yr |
Reliance Retail
DMart
Future Group
Reliance Digital