Lowe's
10+ Skill Up Academy Interview Questions and Answers
Q1. Remove the Kth Node from the End of a Linked List
You are given a singly Linked List with 'N' nodes containing integer data and an integer 'K'. Your task is to delete the Kth node from the end of this Linked Li...read more
Q2. House Robber Problem Statement
Consider Mr. X, a professional robber who is planning to rob houses along a street. These houses are arranged in a circle, which means the first house is a neighbor to the last. E...read more
Q3. Search min element in a rotated sorted array with duplicate elements
Search for the minimum element in a rotated sorted array with duplicate elements.
Use binary search to find the minimum element in the rotated sorted array.
Handle the case where duplicate elements are present by adjusting the search conditions.
Consider cases where the array is not rotated or contains only one element.
Q4. How we can create a custom immutable class
To create a custom immutable class, use final keyword for class, private final fields, and no setter methods.
Use the final keyword for the class to prevent inheritance
Declare all fields as private and final to prevent modification
Do not provide setter methods for the fields to maintain immutability
Provide getter methods to access the fields
Q5. Remove duplicates in place from a 1D array
Remove duplicates from a 1D array of strings in place
Iterate through the array and use a HashSet to keep track of unique elements
Replace duplicates with null or an empty string to remove them in place
Q6. monitor microservices using Spring actuator
Spring Actuator provides endpoints to monitor and manage microservices in a Spring Boot application.
Add Spring Boot Actuator dependency in pom.xml
Enable Actuator endpoints in application.properties or application.yml
Access Actuator endpoints like /actuator/health, /actuator/info, etc.
Customize Actuator endpoints using configuration properties
Q7. Ways of declaring singleton class
A singleton class is a class that can only have one instance created throughout the application.
Declare a private static instance variable of the class
Create a private constructor to prevent external instantiation
Provide a public static method to access the instance
Q8. Why string arr immutable
String arrays are immutable because they cannot be changed once created.
Strings in an array cannot be modified individually
Any changes to a string array result in a new array being created
Immutable arrays ensure data integrity and prevent unintended side effects
Q9. Longest palindromic substring
A palindromic substring is a string that reads the same forwards and backwards.
Use dynamic programming to find the longest palindromic substring.
Start by considering each character as the center of a potential palindrome.
Expand outwards from each center to check for palindromes of odd and even lengths.
Q10. how webflux works
Webflux is a reactive programming framework for building non-blocking, event-driven applications on the JVM.
Webflux is part of the Spring Framework and provides support for reactive programming.
It allows developers to build asynchronous, non-blocking applications that can handle a large number of concurrent connections.
Webflux uses Project Reactor, a reactive library for building reactive applications.
It supports both annotation-based and functional programming styles.
Example...read more
More about working at Lowe's
Interview Process at Skill Up Academy
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month