Filter interviews by
Find the third maximum value in an array of strings.
Convert the array of strings to an array of integers for comparison.
Sort the array in descending order to easily find the third maximum value.
Handle cases where there are less than three unique maximum values.
Find the closest prime number to a given number.
Start checking for prime numbers from the given number and move outwards
Use a function to check if a number is prime
Keep track of the closest prime found so far
Top trending discussions
The shortest distance between two farthest vertices in a cubical room is the length of the diagonal of the cube.
The diagonal of a cube can be calculated using the formula: sqrt(3) * side length
In a cube with side length 1 unit, the diagonal length is sqrt(3) units
Therefore, the shortest distance between two farthest vertices in a cubical room is sqrt(3) times the side length of the cube
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
Learn about techstack
Easy interview which mainly focus on concepts
I applied via Campus Placement and was interviewed in Mar 2024. There were 2 interview rounds.
Linked list and trees
ArrayList is a dynamic array in Java that can grow or shrink in size as needed.
ArrayList is a class in Java that implements the List interface.
It allows for dynamic resizing of the array, unlike regular arrays.
Elements can be added, removed, or accessed by index.
Example: ArrayList
Object-oriented programming concepts focus on creating objects that interact with each other to accomplish tasks.
Encapsulation: Bundling data and methods that operate on the data into a single unit (object)
Inheritance: Allowing a class to inherit properties and behavior from another class
Polymorphism: Objects of different classes can be treated as objects of a common superclass
Abstraction: Hiding complex implementation
Reverse a linked list by changing the next pointers of each node to point to the previous node.
Start with three pointers: current, prev, and next.
Iterate through the linked list, updating the next pointer of each node to point to the previous node.
Update prev to current and current to next in each iteration.
I have written a project code for a web application that tracks user activity and generates reports.
Used HTML, CSS, and JavaScript for front-end development
Utilized PHP and MySQL for back-end development
Implemented user authentication and data visualization features
I applied via Campus Placement and was interviewed in Jul 2024. There were 3 interview rounds.
Basic dsa questions from leetcode
Basic question from the aptitude topics
based on 1 interview
Interview experience
Software Engineer
45
salaries
| ₹0 L/yr - ₹0 L/yr |
Softwaretest Engineer
19
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
12
salaries
| ₹0 L/yr - ₹0 L/yr |
Test Engineer
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Web Developer
8
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech