Upload Button Icon Add office photos

Filter interviews by

Home Depot Senior Java Developer Interview Questions and Answers

Updated 12 Sep 2024

Home Depot Senior Java Developer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. How to make an entity as composite key in spring boot
  • Ans. 

    Use @Embeddable and @EmbeddedId annotations to create a composite key in Spring Boot

    • Create a new class for the composite key and annotate it with @Embeddable

    • Define the composite key fields within the new class

    • In the entity class, use @EmbeddedId annotation to reference the composite key class

  • Answered by AI
  • Q2. How to handle exception handling in spring boot
  • Ans. 

    Exception handling in Spring Boot involves using @ControllerAdvice, @ExceptionHandler, and ResponseEntity.

    • Use @ControllerAdvice to define global exception handling for all controllers

    • Use @ExceptionHandler to handle specific exceptions in individual controllers

    • Return ResponseEntity with appropriate status codes and error messages

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Study microservices architecture and spring boot

Skills evaluated in this interview

Interview questions from similar companies

I applied via Naukri.com and was interviewed before May 2018. There were 5 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Questions are related to your past working experience and the position that you applied for Microwave Transmission related questions: What is Microwave and types What is fadind and it's resolution steps D...
  • Q2. PDH-SDH related questions- Difference between PDH and sdh Frame structure of sdh High order and low order bytes and alarms related to bytes Alarms in sdh Ethernet over sdh What is GFP, ENCAPSULATION, VCAT,...
  • Q3. Generally your current work related questions Why you want to change your job What is your expectations from new job Where you seeing your self after 5 year's Current salary and expectations

Interview Preparation Tips

Round: HR Round
Experience: Related to offer they are giving and related cross questions

General Tips: I had been interviewed with Huawei in 2016 and total 2 rounds was there for me. Questions I already had shared, go through it.

I got my offer letter after 1 month after HR discussion but please follow up with HR team once you get call for your selection
Skills: Ethernet over SDH, SDH, Microwave, Technical Knowledge(ML, Microwave, Communication, Presentation Skills
Duration: 1-3 Months

Interview Questionnaire 

1 Question

  • Q1. Technical question

I applied via Campus Placement

Interview Preparation Tips

Round: Resume Shortlist
Experience: They selected 10 students from our college from CS and IT .They are looking for guys with extra projects done during college .App development will be a bonus ,contribution to open source and competitive programming will help for shortlisting.
Some of my friends had research papers published and they too got selected.

Round: Test
Experience: Have to write code snippet for 4 questions in 45 minutes
1.Difference between hour hand and minute hand
2.longest palindromic sub string.
3.Product Array puzzle
4.Some question related to matrix

Tips: All question were from geeksforgeeks
So practice it well ..u will make through it

Round: Test
Experience: Long Discussion on projects
They will scan each and every line of your Resume ,so dont write bullshits..
I wrote about interest in AI and got screwed..Discussion on college projects and final year project.
Then asked me to design a snake and ladder game OOPS concepts
Told me to find sum of all elements of sub matrix..(hint pre-processing the matrix)
Asked me about sessions and cookies
Gave a query to write on database indexing (dont remember exactly)
Asked me the code of the difference between hour hand and minute hand and extended it wid the second hand
Asked me as how to implement a dictionary
asked about TRIES ,CODE SNIPPET ON THE SHARED DOCS
One of my friend was asked to implement (set) of STL
Tips: The interviewer was cool guy..helped me a lot always made me comfortable.Interact with them as much as possible

Round: Test
Experience: Wid the CTO of the company .
Started wid the projects again .ACID properties,Database transactions,Concurrency Control
Optimization in database.
Then he asked me to code a function
Given a hash function applied on letters of English words ,un-hash it.Took me 45 minutes to reach the solution ,he helped me a lot.
Asked me to write the code for diameter of a binary tree
Asked me write the code for Boolean Matrix
One of my friend was asked to a question in which there was a bug in a m*n matrix and we have to find the bug(hint dfs or bfs)
Tips: keep calm ,,just keep talking ad he will help u a lot...

Round: HR
Experience: This was the toughest round for me...I had cleared all the rounds but they rejected me in the HR round ,,,dont know where I screwed..Learn every thing of Zomato..
They offered me an internship and thereafter they would look to give a PPO ...!!!lets see what happens

Skills: Coding Skills And Knowledge On Data Structures
Duration: 3
College Name: NIT Srinagar

Interview Questionnaire 

9 Questions

  • Q1. Write a regex for email validation?
  • Ans. 

    Regex for email validation

    • Start with a string of characters followed by @ symbol

    • Followed by a string of characters and a period

    • End with a string of characters with a length of 2-6 characters

    • Allow for optional subdomains separated by periods

    • Disallow special characters except for . and _ in username

  • Answered by AI
  • Q2. Parse the XML? and store the output in JSON. Discussed different approaches?
  • Q3. Print prime numbers in a given range and optimize the solution?
  • Ans. 

    Print prime numbers in a given range and optimize the solution.

    • Use Sieve of Eratosthenes algorithm to generate prime numbers efficiently

    • Start with a boolean array of size n+1, mark all as true

    • Loop through the array and mark all multiples of each prime as false

    • Print all the indexes that are still marked as true

  • Answered by AI
  • Q4. Puzzle – 25 horses – 5 lanes, find fastest 3 horses?
  • Q5. Web related questions on Sessions and cookies?
  • Q6. A lot of discussion on my resume, experience etc
  • Q7. Find angle between hour hand and minute hand in clock if time is given? Write a program or pseudo code?
  • Ans. 

    Find angle between hour and minute hand in a clock given the time.

    • Calculate the angle made by the hour hand with respect to 12 o'clock position

    • Calculate the angle made by the minute hand with respect to 12 o'clock position

    • Find the difference between the two angles and take the absolute value

    • If the angle is greater than 180 degrees, subtract it from 360 degrees to get the smaller angle

  • Answered by AI
  • Q8. A hash function was written to convert a string into a hash. Write a un-hash function to revert it(from hash to string)?
  • Ans. 

    To un-hash a string, use a reverse algorithm to convert the hash back to the original string.

    • Create a reverse algorithm that takes the hash as input and outputs the original string

    • Use the same logic as the hash function but in reverse order

    • If the hash function used a specific algorithm, use the inverse of that algorithm to un-hash the string

  • Answered by AI
  • Q9. He discussed about expectations and role. Asked me if I have any questions. He said to me “yaha aana hai to marwani padegi. tyar ho”? I smiled and asked what are the work timings? He said 9-9 and I was kin...

Interview Preparation Tips

General Tips: I applied through a recruiter. Then I got a call from Zomato HR. It was for LAMP developer profile. She asked me about my profile and also shared some expectations from the role. She asked me to come for F2F rounds to take the process further
Skills: Web development, JSON, Algorithm
College Name: na
Motivation: Overall process was not very tough. But they have start up culture. People work their for 11-12 hours a day. Sometimes on Saturday as well. So people who are geeks or have nothing in life to do except their job can go and join

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Mar 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. What is the most challenging situation you have been through in your career?

Interview Preparation Tips

Interview preparation tips for other job seekers - To ace an interview you need to be a good listener as much as a good speaker. Try to listen and understand what the interviewer is asking and then reply. Never be in a hurry to answer, take time. If you did not understand what interviewer is asking simply ask him to repeat, pls don't presume anything and answer anything that comes to your mind. Most importantly never fake in an interview just try to be your best...

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

It was very good

  • Q1. 

    Find the Longest Palindromic Substring

    Given a string ‘S’ composed of lowercase English letters, your task is to identify the longest palindromic substring within ‘S’.

    If there are multiple longest palin...

  • Ans. 

    Find the longest palindromic substring in a given string, returning the rightmost one if multiple exist.

    • Use dynamic programming to check if substrings are palindromes

    • Iterate through the string and expand around each character to find palindromic substrings

    • Keep track of the longest palindromic substring found

  • Answered by AI
  • Q2. 

    Minimum Sum in Matrix Problem Statement

    You are given a 2D matrix 'ARR' of size 'N x 3' with integers, where 'N' is the number of rows. Your task is to compute the smallest sum achievable by selecting one...

  • Ans. 

    Find the smallest sum achievable by selecting one element from each row of a 2D matrix, following certain constraints.

    • Iterate through each row and calculate the minimum sum by selecting elements that do not violate the constraints.

    • Keep track of the minimum sum achieved so far.

    • Avoid selecting elements directly beneath previously selected elements.

    • Example: For input [[1, 2, 3], [4, 8, 6], [1, 5, 3]], the optimal selectio

  • Answered by AI
Round 2 - Face to Face 

Round duration - 1 hour
Round difficulty - Medium

It was a good interview

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Techno India NJR Institute of Technology. I applied for the job as SDE - 1 in IndoreEligibility criteria7 cgpaTata Consultancy Services (TCS) interview preparation:Topics to prepare for the interview - I have done a rigourous training on Data Structure and Algorithms. It really helped me a lot to excel in life. Also I did vocational courses which enhanced my personality. I did analytical mindset training with problem solving methodologies. The hands on training on Python and Unix helped me a lot.Time required to prepare for the interview - 1 yearInterview preparation tips for other job seekers

Tip 1 : Daily practice programming
Tip 2 : Work with honesty
Tip 3 : Do with utmost dedication

Application resume tips for other job seekers

Tip 1 : Write with honesty
Tip 2 : Mention about your achievements

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Walk-in and was interviewed in Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. About my work experience & my self
  • Q2. Tell me about your self.

Interview Preparation Tips

Interview preparation tips for other job seekers - Always candidates have good knowledge of relevant work.and be confident about it,interviewrs always seeing your confidence level and skills.

I applied via Company Website and was interviewed in Mar 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. All question based on past work experiences.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare all the past experience challenge and step by step your envolvement.

Interview Questionnaire 

1 Question

  • Q1. Technical questions and more scenario based questions. Performance related questions.

Interview Preparation Tips

Interview preparation tips for other job seekers - It was a quick process which took just 6 days to complete the interviews and to get offer.

Home Depot Interview FAQs

How many rounds are there in Home Depot Senior Java Developer interview?
Home Depot interview process usually has 1 rounds. The most common rounds in the Home Depot interview process are Technical.
What are the top questions asked in Home Depot Senior Java Developer interview?

Some of the top questions asked at the Home Depot Senior Java Developer interview -

  1. How to make an entity as composite key in spring b...read more
  2. How to handle exception handling in spring b...read more

Tell us how to improve this page.

Home Depot Senior Java Developer Interview Process

based on 1 interview

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

L&T Construction Interview Questions
4.0
 • 749 Interviews
Senco Gold Interview Questions
4.5
 • 562 Interviews
Swiggy Interview Questions
3.8
 • 432 Interviews
Quess Interview Questions
3.9
 • 417 Interviews
TCS iON Interview Questions
3.9
 • 368 Interviews
Planet Spark Interview Questions
3.7
 • 362 Interviews
ITC Infotech Interview Questions
3.6
 • 336 Interviews
Udaan Interview Questions
4.0
 • 334 Interviews
Meesho Interview Questions
3.7
 • 331 Interviews
Zomato Interview Questions
3.8
 • 312 Interviews
View all
Compare Home Depot with

Quess

3.9
Compare

L&T Construction

4.0
Compare

Ekart Logistics

3.9
Compare

Udaan

4.0
Compare
Did you find this page helpful?
Yes No
write
Share an Interview