i
Impetus Technologies
Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2020. There were 3 interview rounds.
To create a stack from two queues, we need to use one queue for storing elements and the other for temporary storage.
Push elements into the first queue
When popping, move all elements except the last one to the second queue
Pop the last element from the first queue and return it
Swap the names of the two queues to make the second queue the first one
Find the intersection point of two arrays of strings.
Convert arrays to sets to find common elements
Iterate through one array and check if element exists in the other array
Use built-in intersection method in Python
Sort arrays and use two pointers to find common elements
Performance optimization of Spark involves tuning various parameters and optimizing code.
Tune memory allocation and garbage collection settings
Optimize data serialization and compression
Use efficient data structures and algorithms
Partition data appropriately
Use caching and persistence wisely
Avoid shuffling data unnecessarily
Monitor and analyze performance using Spark UI and other tools
Spark wordcount and sort in descending order with their number occurrence in dataframe
Read text file into dataframe using spark.read.text()
Split each line into words using split() function
Use groupBy() and count() functions to count the occurrence of each word
Sort the resulting dataframe in descending order using orderBy() function
Show the resulting dataframe using show() function
Multithreading allows concurrent execution of multiple threads. Future and CompletableFuture are used for asynchronous programming.
Multithreading enables parallel processing of tasks
Future is used to represent a result that may not be available yet
CompletableFuture is a subclass of Future that provides more flexibility and functionality
CompletableFuture can be used to chain multiple asynchronous tasks
CompletableFuture ...
I applied via Approached by Company and was interviewed before Jun 2021. There were 2 interview rounds.
Top trending discussions
I was interviewed in Dec 2024.
Custom stack with constant time access to minimum element
Use two stacks - one to store elements and another to store minimum values
When pushing an element, compare with top of min stack and push the smaller value
When popping an element, pop from both stacks
Access minimum element in O(1) time by peeking at top of min stack
To create an immutable class named Employee with fields for name and hobbies defined as List<String>, use private final fields and return new instances in getters.
Use private final fields for name and hobbies in the Employee class
Provide a constructor to initialize the fields
Return new instances or unmodifiable lists in the getters to ensure immutability
Add hashCode() and equals() methods to Employee class.
Override hashCode() method to generate a unique hash code for each Employee object.
Override equals() method to compare Employee objects based on their attributes.
Ensure that the attributes used in hashCode() and equals() methods are immutable.
Example: Add id, name, and department attributes to Employee class and override hashCode() and equals() methods based on thes
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance of the class within the class itself.
Provide a public static method to access the instance, creating it if necessary.
Ensure the constructor of the class is private to prevent instantiation from outside the class.
Use lazy initialization to create the instance only when needed.
Thread...
Ways to create a thread in Java include extending the Thread class, implementing the Runnable interface, and using Java 8's lambda expressions.
Extend the Thread class and override the run() method
Implement the Runnable interface and pass it to a Thread object
Use Java 8's lambda expressions with the Executor framework
SOLID principles are a set of five design principles in object-oriented programming to make software more maintainable, flexible, and scalable.
Single Responsibility Principle (SRP) - A class should have only one reason to change. Example: A class that handles user authentication should not also handle database operations.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modific...
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve a problem.
Encapsulation is a key concept in OOP, where data is kept within an object and only accessible through its methods.
Inheritance allows objects to inherit attributes and methods from parent classes.
Po...
Threads communicate in Java through shared memory or message passing.
Threads can communicate through shared variables in memory.
Threads can communicate through synchronized methods or blocks.
Threads can communicate through wait(), notify(), and notifyAll() methods.
Threads can communicate through message passing using classes like BlockingQueue or ExecutorService.
Program to reverse a linked list
Create a new linked list to store the reversed elements
Traverse the original linked list and insert each node at the beginning of the new list
Update the head of the new list as the last node of the original list
String literals are constant strings defined in code, while the string pool is a memory area where unique string objects are stored.
String literals are created using double quotes, while string pool objects are created using the 'new' keyword.
String literals are stored in the string pool to conserve memory and improve performance.
String literals are automatically interned by the JVM, while string pool objects need to b
Program to print the 90-degree rotated view of a 2D array.
Iterate through each column in reverse order and print the corresponding row elements.
Repeat this process for all columns to get the rotated view of the 2D array.
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Find the length of the longest subsequence of contiguous integers in an array.
Sort the array
Iterate through the array and check for consecutive integers
Keep track of the longest subsequence found
Use flatMap and map to extract list of pincodes from Employee objects
Use flatMap to flatten the list of Addresses in each Employee object
Use map to iterate over the flattened list and extract the pincodes
Example: employeeList.stream().flatMap(emp -> emp.getAddresses().stream()).map(address -> address.getPincode()).collect(Collectors.toList())
Database pooling is a technique used to manage a pool of database connections for efficient resource utilization. HikariCP is a popular database connection pooling library in Java.
HikariCP is a high-performance database connection pooling library for Java applications.
It is known for its low latency and high throughput.
Configurations for HikariCP include settings such as maximum pool size, connection timeout, and idle ...
LMS stands for Learning Management System, a software application for the administration, documentation, tracking, reporting, and delivery of educational courses or training programs.
LMS helps organizations deliver online courses and training programs to employees or students.
It allows for the creation and management of courses, assessments, and learning materials.
LMS can track learner progress, generate reports, and p...
Shadow DOM is a way to encapsulate the styling and structure of a web component, preventing styles from leaking out or clashing with the rest of the page.
Shadow DOM allows for creating self-contained components with their own styles and markup
It helps in preventing styles from the main document affecting the component and vice versa
Shadow DOM can be created using the 'shadowRoot' property of an element
Some common exceptions in Salesforce development include DMLException, QueryException, and LimitException.
DMLException: Thrown when an error occurs while performing DML operations like insert, update, delete.
QueryException: Thrown when an error occurs while querying data from the database.
LimitException: Thrown when governor limits are exceeded, such as SOQL query limit or CPU time limit.
Yes, I have worked on integration in Salesforce development.
I have experience integrating Salesforce with external systems using REST and SOAP APIs.
I have worked on integrating Salesforce with third-party applications like MailChimp and DocuSign.
I have implemented custom integrations using tools like Salesforce Connect and MuleSoft.
I have experience with data mapping, transformation, and synchronization during integrat
Governor limits are in place to ensure efficient use of resources and prevent abuse in Salesforce platform.
Governor limits help in maintaining system performance and preventing monopolization of resources.
They ensure fair usage of resources among all users on the platform.
Examples include limits on number of records retrieved in a single query, number of SOQL queries executed, and CPU time consumed.
Governor limits also...
One challenge I faced was integrating a third-party API with Salesforce.
Had to understand the API documentation thoroughly
Encountered compatibility issues with Salesforce platform
Implemented custom code to bridge the gap between API and Salesforce
I was interviewed in Jan 2025.
Test will be in hacker rank there would be a difficulty level between easy to medium
I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
Remove duplicates from array of strings without using set.
Iterate through the array and compare each element with all other elements to find duplicates.
Create a new array and add elements only if they are not already present in the new array.
I applied via Naukri.com and was interviewed in Nov 2024. There were 3 interview rounds.
Coding round is related to DSA
Technology advantage or not
All aptitude topics,logical reasoning
Some of the top questions asked at the Impetus Technologies Module Lead Software Engineer interview -
based on 17 reviews
Rating in categories
Senior Software Engineer
698
salaries
| ₹8.2 L/yr - ₹28 L/yr |
Software Engineer
537
salaries
| ₹5 L/yr - ₹20.5 L/yr |
Module Lead Software Engineer
276
salaries
| ₹11.1 L/yr - ₹37.8 L/yr |
Module Lead
249
salaries
| ₹12 L/yr - ₹35 L/yr |
Lead Software Engineer
196
salaries
| ₹15.2 L/yr - ₹40 L/yr |
Persistent Systems
TCS
Infosys
Wipro