Lowe's
10+ Interview Questions and Answers
You have been given a singly Linked List of 'N' nodes with integer data and an integer 'K'. Your task is to remove the Kth node from the end of the given Linked List.
For example:
The gi...read more
Mr. X is a professional robber planning to rob houses along a street. Each house has a certain amount of money hidden. All houses along this street are arranged in a circle. That means the f...read more
Problem Statements:
1-Build a self-checkout solution for a Retailer.
2-Build a conversational solution that enables customers to discover and order products.
3-Build a solution to help the customers f...read more
Q4. 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.
Q5. 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
Q6. 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
Q7. 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
Q8. 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
Q9. 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
Q10. 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.
Q11. 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 null
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month