Filter interviews by
HashMap in Java is a data structure that stores key-value pairs and allows fast retrieval of values based on keys.
HashMap is part of the Java Collections framework.
It uses hashing to store key-value pairs, allowing for fast retrieval.
Keys in a HashMap must be unique, but values can be duplicated.
Example: HashMap<String, Integer> map = new HashMap<>(); map.put("John", 25);
A constructor in Java is a special type of method that is used to initialize objects. It has the same name as the class and no return type.
Constructors are called when an object of a class is created.
They can be used to initialize instance variables or perform any other setup required for the object.
Constructors can be overloaded, meaning a class can have multiple constructors with different parameters.
If a class does ...
You can sort a class object by implementing the Comparable interface and overriding the compareTo method.
Implement the Comparable interface in the class and override the compareTo method to compare objects based on roll number.
Use Collections.sort() method to sort the list of objects based on roll number.
Example: class Student implements Comparable<Student> { public int compareTo(Student s) { return this.rollNo -
A Comparator in Java is an interface used to compare objects for sorting purposes.
Comparator interface is used to define custom comparison logic for objects.
It has a method called compare() which takes two objects as arguments and returns an integer value based on their comparison.
It is commonly used with sorting algorithms like Collections.sort() or Arrays.sort().
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
Functional interfaces in Java are interfaces with a single abstract method, used for lambda expressions and method references.
Functional interfaces have only one abstract method, but can have multiple default or static methods.
Examples include java.lang.Runnable, java.util.Comparator, and java.util.function.Predicate.
Functional interfaces can be used with lambda expressions and method references for concise code.
Spring Boot annotations are used to simplify the development process by providing metadata to the Spring framework.
Annotations like @RestController, @RequestMapping, and @Autowired are commonly used in Spring Boot to define controllers, request mappings, and dependency injection.
Annotations like @SpringBootApplication are used to bootstrap the Spring application context.
Annotations like @ComponentScan and @EnableAutoCo...
Streams in Java are sequences of elements that support functional-style operations.
Streams are used to process collections of objects in a functional way.
They allow for concise and readable code by enabling operations like filter, map, reduce, etc.
Example: List
PostgreSQL and Oracle SQL differ in terms of licensing, features, performance, and cost.
PostgreSQL is open-source while Oracle SQL is proprietary.
PostgreSQL is known for its extensibility and support for advanced features like JSON data types, while Oracle SQL is known for its robustness and scalability.
PostgreSQL is generally considered more cost-effective for small to medium-sized projects, while Oracle SQL is prefer...
I was interviewed in Dec 2017.
To find the maximum water pond formed between buildings.
Identify the lowest point between the buildings.
Calculate the area of the pond using the distance between the buildings and the depth of the pond.
Consider any obstacles or uneven ground that may affect the pond's shape.
Use a surveying tool or satellite imagery to get accurate measurements.
Take into account any drainage systems or natural water flow that may affect
Design a dictionary using trie with insert, update and delete operations.
Implement a Trie data structure with nodes containing a character and a boolean flag to indicate end of word
For insert operation, traverse the trie and add nodes for each character in the word
For update operation, delete the existing word and insert the updated word
For delete operation, mark the end of word flag as false and delete the node if it ...
Find the odd repeating element from an array of strings
Use a hash table to count the frequency of each element
Iterate through the hash table to find the element with an odd count
Finding an element in a sorted 2D matrix
Start from the top right corner or bottom left corner
Compare the target element with the current element
Move left or down if the target is smaller, else move right or up
Repeat until the target is found or all elements are checked
SQL query to find Nth highest salary from table
Use ORDER BY and LIMIT clauses
Use subquery to get the Nth highest salary
Handle cases where there are less than N distinct salaries
Function to swap '3' and '4' without using if-else
Use XOR operator to swap the values
Convert the input to ASCII code and perform the swap
Use a lookup table to map the values
I am a software developer with experience in Java and Python.
Proficient in Java and Python programming languages
Experience in developing web applications using Spring framework
Familiarity with database management systems like MySQL and MongoDB
PAYTM is a leading digital payment platform in India with a wide range of services.
PAYTM has a user-friendly interface and offers a seamless payment experience.
It provides a variety of services like mobile recharges, bill payments, and online shopping.
PAYTM has a strong focus on security and fraud prevention measures.
It has a large user base and is widely accepted by merchants across India.
PAYTM is constantly innovatin...
Yes, I am open to pursuing further studies in the future.
I believe in continuous learning and staying updated with the latest technologies.
Further studies can help me specialize in a particular field and enhance my skills.
I may consider pursuing a master's degree in computer science or a related field.
However, my immediate focus is on gaining practical experience and contributing to the organization.
PAYTM grew fast due to its innovative approach and early adoption of digital payments.
Early adoption of digital payments in India
Innovative approach with features like mobile recharges, bill payments, and cashback offers
Expansion into e-commerce and financial services
Strategic partnerships with major companies like Uber and Alibaba
I applied via Recruitment Consultant and was interviewed in May 2021. There were 4 interview rounds.
Swap words in strings
Split the string into words
Swap the words using a temporary variable
Join the words back into a string
I applied via Referral and was interviewed before Oct 2020. There was 1 interview round.
I was interviewed before Sep 2020.
Round duration - 45 minutes
Round difficulty - Medium
I applied thorough LinkedIn and got a call from HR for the interview.
I went to their Noida Office.
First round was mainly focused on Javascript fundamentals.
Interviewer was also friendly.
Round duration - 1 hour
Round difficulty - Medium
Second round was after 15 minutes of the first round. The focus of this round was DS & Algorithms.
Given an array ARR
of N
integers and an integer S
, determine if there exists a subarray (of positive length) within the given array such that the sum of its elements equals S
....
Given an array and a target sum, find a subarray that sums up to the target sum.
Iterate through the array while keeping track of the running sum and the starting index of the subarray.
Use a hashmap to store the running sum and its corresponding index.
If the running sum - target sum is found in the hashmap, it means a subarray with the target sum exists.
Return the starting and ending indices of the subarray or [-1, -1]
You are provided with two arrays, AT
and DT
, representing the arrival and departure times of all trains arriving at a railway station.
Your task is to determine the m...
This question asks to find the minimum number of platforms required at a railway station so that no train needs to wait.
Sort the arrival and departure times arrays in ascending order.
Initialize a variable 'platforms' to 1 and 'maxPlatforms' to 1.
Iterate through the arrival and departure times arrays simultaneously.
If the current arrival time is less than or equal to the current departure time, increment 'platforms'.
If ...
Round duration - 30 minutes
Round difficulty - Easy
The interviewer asked about JavaScript questions and the work culture of the team during the managerial round.
JavaScript questions related to closures, prototypes, event handling, and asynchronous programming may have been asked.
Work culture may involve collaboration, innovation, agile methodologies, and continuous learning.
Examples of work culture could include regular team meetings, code reviews, hackathons, and ment
Round duration - 15 minutes
Round difficulty - Easy
Tip 1 : Be strong at your basics.
Tip 2 : Don't hesitate to ask questions to interviewer.
Tip 3 : Prepare good for DS & Algo as most companies have a separate round for it.
Tip 1: If possible make 1 page resume
Tip 2: Don't put too many things. Keep it simple. If you're a fresher and have good projects, do put them before your academic section.
Tip 3: Be ready to explain everything you have in your resume.
based on 2 interviews
Interview experience
Senior Software Engineer
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
14
salaries
| ₹0 L/yr - ₹0 L/yr |
Marketing Manager
10
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Engineer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Quality Analyst
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Mswipe Technologies
Pine Labs
Paytm
PhonePe