Filter interviews by
I applied via campus placement at Indian Institute of Technology (IIT), Chennai and was interviewed in Dec 2016. There were 5 interview rounds.
To rotate a matrix by 90 degrees clockwise, transpose the matrix and then reverse each row. To rotate anticlockwise, reverse each row and then transpose.
Transpose the matrix by swapping elements at (i, j) with (j, i)
Reverse each row of the transposed matrix
To rotate anticlockwise, reverse each row of the original matrix and then transpose
There are three common methods to compress images: lossless compression, lossy compression, and resizing.
Lossless compression reduces file size without losing any image quality. Examples include PNG and GIF formats.
Lossy compression reduces file size by discarding some image data. Examples include JPEG format.
Resizing reduces file size by changing the dimensions of the image. It can be done manually or using image proc
Identify the most recent duplicate in an array of strings.
Iterate through the array and keep track of the indices of each string using a hashmap.
If a string is already present in the hashmap, update its index.
After iterating through the array, find the string with the highest index in the hashmap.
There are 3 possible triangles that can be formed using the two lines.
To form a triangle, we need three points.
With two lines, we have a total of four points.
By choosing any three points, we can form a triangle.
Therefore, there are 3 possible triangles.
The function should return the element k from a Binary Search Tree (BST).
Traverse the BST in-order and keep track of the current element
If the current element is equal to k, return it
If the current element is greater than k, move to the left subtree
If the current element is less than k, move to the right subtree
Repeat until the element is found or the entire tree is traversed
The question is asking for a solution to find the nearest element to a given element in an array.
Iterate through the array and calculate the absolute difference between each element and the given element.
Keep track of the minimum difference encountered and the corresponding element.
Return the element with the minimum difference as the nearest element.
Top trending discussions
I applied via campus placement at BRACT's Vishwakarma Institute of Information Technology, Pune and was interviewed in Oct 2024. There was 1 interview round.
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types or classes.
Examples include method overloading and method overriding in object-oriented programming.
Find missing number from nth number array.
Iterate through the array and calculate the sum of all numbers
Calculate the sum of numbers from 1 to n using the formula n*(n+1)/2
Subtract the sum of array from the sum of numbers from 1 to n to find the missing number
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows a class to reuse code from another class.
Types of inheritance include single inheritance, where a class inherits from only one parent class, and multiple inheritance, where a class inherits from multiple parent classes.
Example: Class B inherits from Class A, so Class B can access
Find 2nd max element from array of strings
Sort the array in descending order
Skip the first element (max element)
Return the second element
Dsa, oops, sql, data structures
Some database questions,some java questions .
JavaScript is a programming language used for web development, while jQuery is a library built with JavaScript to simplify HTML document traversal and manipulation.
JavaScript is a programming language, while jQuery is a library written in JavaScript.
JavaScript can be used for a wide range of tasks, while jQuery is mainly used for DOM manipulation and event handling.
JavaScript is a core technology for web development, w...
Different types of joins are used in SQL to combine rows from two or more tables based on a related column between them.
Inner Join: Returns rows when there is at least one match in both tables.
Left Join (or Left Outer Join): Returns all rows from the left table and the matched rows from the right table.
Right Join (or Right Outer Join): Returns all rows from the right table and the matched rows from the left table.
Full ...
Multithreading allows multiple threads to run concurrently, while exception handling deals with errors in a program.
Multithreading involves running multiple threads simultaneously to improve performance and responsiveness.
Threads share the same memory space but have their own program counter and registers.
Exception handling is a mechanism to handle errors or exceptional situations in a program.
It helps prevent the prog...
posted on 5 Aug 2024
I applied via Job Portal and was interviewed in Feb 2024. There were 3 interview rounds.
30 mins Aptitude Question
30 mins - 3 Coding Question
Rest API is a set of rules and conventions for building and interacting with web services using HTTP methods.
Rest API stands for Representational State Transfer Application Programming Interface.
It uses standard HTTP methods like GET, POST, PUT, DELETE to perform CRUD operations.
RESTful APIs use URLs to access resources, and return data in JSON or XML format.
Stateless communication allows for scalability and flexibilit...
Response codes indicate the status of a HTTP request. 200 & 201 are success codes, while 400 & 403 are client error codes.
200 - OK: Request was successful
201 - Created: Request was successful and a new resource was created
400 - Bad Request: The server cannot process the request due to a client error
403 - Forbidden: The server understood the request, but refuses to authorize it
posted on 24 Oct 2022
I applied via campus placement at Jadavpur University and was interviewed in Sep 2022. There were 4 interview rounds.
It had Coding (Leetcode Easy-Medium ) and Aptitude (Quant, Logical Reasoning, Data Interpretation and English)
I applied via Company Website and was interviewed before Aug 2023. There was 1 interview round.
30 min topic - Matching defination , statement and conculsions
based on 2 reviews
Rating in categories
Member Technical Staff
47
salaries
| ₹9.7 L/yr - ₹36 L/yr |
Escalation Engineer
17
salaries
| ₹15 L/yr - ₹29 L/yr |
Technical Lead
12
salaries
| ₹36.6 L/yr - ₹60 L/yr |
Software Engineer
6
salaries
| ₹4.5 L/yr - ₹23.3 L/yr |
Software Developer
6
salaries
| ₹7 L/yr - ₹11 L/yr |
Cisco
Juniper Networks
VMware Software
Palo Alto Networks