Filter interviews by
Clear (1)
I applied via Campus Placement and was interviewed before Nov 2020. There was 1 interview round.
Top trending discussions
posted on 10 Nov 2015
I was interviewed before Apr 2023.
Simple basic application
I was interviewed in Mar 2021.
Round duration - 90 minutes
Round difficulty - Medium
A time range is given you can attempt with in that time and once started you cant resume .
Given a string STR
containing both lowercase and uppercase letters, the task is to sort the string so that the resulting string contains uppercase and lower...
Sort a string with alternate lowercase and uppercase letters in sorted order.
Create two separate arrays for lowercase and uppercase letters.
Sort both arrays individually.
Merge the two arrays alternately to form the final sorted string.
Given a string containing only parentheses and letters, your goal is to remove the minimum number of invalid parentheses to make the input string valid and return all possible v...
Given a string with parentheses and letters, remove minimum invalid parentheses to make it valid and return all possible valid strings.
Use BFS to explore all possible valid strings by removing parentheses one by one
Keep track of visited strings to avoid duplicates
Return all unique valid strings obtained after removing minimum number of parentheses
Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2)
, with initial conditions F(1) = F(2) = 1
.
Calculate the Nth Fibonacci number efficiently using dynamic programming.
Use dynamic programming to store previously calculated Fibonacci numbers to avoid redundant calculations.
Start with base cases F(1) and F(2) as 1, then iterate to calculate F(N) efficiently.
Time complexity can be optimized to O(N) using dynamic programming.
Example: For N = 5, the 5th Fibonacci number is 5.
Given a non-negative integer 'K', determine the Kth row of Pascal’s Triangle.
K = 2
1 1
K = 4
1 4 6 ...
To find the Kth row of Pascal's Triangle given a non-negative integer K.
Create an array to store the values of the Kth row of Pascal's Triangle
Use the formula C(n, k) = C(n-1, k-1) + C(n-1, k) to calculate the values
Return the array as the output
Tip 1 : Basics of java should be clear
Tip 2 : Do maximum question on strings and array
Tip 1 : Atleast 1 good project
Tip 2 : Good ranks on websites like hackerrank , leetcode.
I applied via Campus Placement and was interviewed in Aug 2023. There were 3 interview rounds.
A simple aptitude test with basic questions asked
Simple logic based questions.
I applied via Campus Placement and was interviewed in Feb 2024. There was 1 interview round.
Joins in SQL are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column
Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Reverse the array of strings
Create a new array and iterate through the original array in reverse order, adding each element to the new array
Use built-in array methods like reverse() or spread operator for a more concise solution
Ensure to handle edge cases like empty array or array with only one element
I applied via Campus Placement and was interviewed before Mar 2023. There were 3 interview rounds.
Normal aptitude test
SQL Questions and one problem
I applied via Campus Placement and was interviewed in Dec 2021. There was 1 interview round.
I am a software engineer with expertise in developing and maintaining software applications.
Proficient in programming languages such as Java, C++, and Python
Experienced in developing web applications using frameworks like Spring and Django
Skilled in database management and SQL queries
Familiar with software development methodologies like Agile and Scrum
Strong problem-solving and analytical skills
Excellent communication
Output details of recent 10 graduates from a table storing student details.
Sort the table by graduation date in descending order.
Select the top 10 rows from the sorted table.
Output the selected rows.
Optimized approach to find third largest element from array using half traversal.
Sort the array in descending order and return the element at index 2.
Use a max heap to keep track of the top 3 elements while traversing the array.
Use two variables to keep track of the second and third largest elements while traversing the array.
Divide the array into two halves and find the maximum and second maximum in each half, then co
Answering how to print first character of words in a string using one stack and an array.
For using one stack, push each character onto the stack and pop when a space is encountered. Print the popped character.
For using an array, split the string into words and print the first character of each word.
In both cases, handle edge cases like empty string and string with only one word.
Hash table. No, it is not possible to create a data structure with all operations in O(1) time.
Hash table uses a hash function to map keys to indices in an array.
Insertion and deletion can be done in O(1) time on average.
Search retrieval can also be done in O(1) time on average.
However, worst-case scenarios can result in O(n) time complexity.
It is not possible to create a data structure with all operations in O(1) time
ACID properties ensure database transactions are reliable. Two transactions can occur simultaneously using locking and isolation.
ACID stands for Atomicity, Consistency, Isolation, and Durability.
Atomicity ensures that a transaction is treated as a single unit of work, either all or none of it is executed.
Consistency ensures that a transaction brings the database from one valid state to another.
Isolation ensures that co...
Indexes are used to improve query performance. Multiple clustered and non-clustered indexes can be created on a table.
Indexes are used to quickly locate data without scanning the entire table.
Clustered index determines the physical order of data in a table.
Non-clustered index is a separate structure that contains a copy of the indexed columns and a pointer to the actual data.
A table can have only one clustered index, b...
Given an array and a number, find if the number can be generated using sum of array members and output those numbers.
Iterate through the array and check if the number can be generated using the sum of array members
Use a hash table to store the difference between the number and each array element
If the difference is found in the hash table, output the corresponding array elements
If no such combination is found, output '
Time complexity of data structure operations
Arrays: O(1) for access, O(n) for search/insert/delete
Linked Lists: O(n) for access/search, O(1) for insert/delete
Stacks/Queues: O(1) for access/insert/delete
Hash Tables: O(1) for access/insert/delete (average case)
Trees: O(log n) for access/search/insert/delete (balanced)
Heaps: O(log n) for access/insert/delete
Graphs: Varies depending on algorithm used
Span is an inline element used for styling small portions of text, while div is a block-level element used for grouping and styling larger sections of content.
Span is an inline element, div is a block-level element
Span is used for styling small portions of text, div is used for grouping larger sections of content
Span does not create a new line, div creates a new block-level element
I applied via Approached by Company and was interviewed in Dec 2023. There were 3 interview rounds.
All three questions are leetcode medium level.
10th level aptitude problem.
Assistant Manager
3
salaries
| ₹0 L/yr - ₹0 L/yr |
R&D Engineer
3
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Manager Sales & Marketing
3
salaries
| ₹0 L/yr - ₹0 L/yr |
State Street Syntel
Sterling & Wilson
AXA Business Services
Chegg