Software Engineer (Java Developer)
Interview Date
—
Result
Selected
Difficulty
Medium to Hard
Rounds
4 rounds
Drive Type
Off-Campus, Full-Time
Topics asked
Detailed experience
College: Not Specified
Interview Date: Not Specified
Interview Type: Off-Campus, Full-Time
Result: Selected
Difficulty: Medium to Hard
Rounds: 4 rounds
Topics Asked: Coding (Prime numbers arrangement, Largest number from cost array, Modified Fibonacci sequence, Array rotation), MCQs (OS, OOP (Java), Time Complexity), OOPs (String immutability, HashMap internal implementation, Abstract class, Interface), RDBMS (MySQL, N-th highest salary), HR.
This off-campus interview process led to selection for a Software Engineer role (Java Developer).
Round 1 (Screening Test): This round consisted of 2 coding questions and 12 MCQs on OS, OOP (Java), and time complexity. The coding questions included: 1) Arranging an array of integers such that prime numbers are in ascending order and composite numbers in descending order (in-place). The candidate used a sieve method, two priority queues, and a Boolean array. 2) Constructing the largest possible number given a cost array for digits 1-9 and a price money.
Round 2 (Technical Interview 1): This round was more of a discussion. Java-specific questions included: Difference between String s="Rishabh" and String s=new String("Rishabh")? What is unique about String? (Immutability). How can you make a class immutable? (Making fields private, removing setter methods, making the class final). Internal implementation of HashMap. Why can't we make an abstract class final?
Round 3 (Technical Interview 2): The interviewer asked about RDBMS, specifically MySQL. Two problems on data structures and algorithms were posed: 1) Given A=1, B=2, ..., Z=26, how many strings can be made from a given number (a modified Fibonacci sequence problem). 2) Given an array of size n and a number k (0<=k
Round 4 (HR Round): This was a call from HR to discuss relocation to Gurgaon and compensation. The candidate was finally selected for the software engineer role.