Filter interviews by
I applied via Referral and was interviewed in Mar 2024. There were 2 interview rounds.
SQL is a programming language used for managing relational databases. Joins combine data from multiple tables. Union combines results from multiple queries without duplicates, while Union All includes duplicates.
SQL is a programming language used for managing relational databases.
Types of joins include inner join, left join, right join, and full outer join.
Union combines results from multiple queries without duplicates...
A list is mutable and can be modified, while a tuple is immutable and cannot be changed. List comprehension is a concise way to create lists.
List: Mutable, can be modified. Tuple: Immutable, cannot be changed.
List: Defined with square brackets []. Tuple: Defined with parentheses ().
List comprehension: Concise way to create lists by iterating over an iterable and applying an expression.
Example of list comprehension: squ
Query to extract details of employees with salary more than 5000000.
Use SELECT statement to retrieve employee details
Add WHERE clause to filter employees with salary greater than 5000000
Example: SELECT * FROM employees WHERE salary > 5000000
Create a list of even and odd numbers and print them separately.
Create an empty list to store even numbers
Create another empty list to store odd numbers
Iterate through a range of numbers and append them to the respective lists based on their parity
Print the lists of even and odd numbers separately
I applied via Referral and was interviewed before Feb 2023. There was 1 interview round.
I am a software engineer with experience in developing web applications and expertise in programming languages such as Java and Python.
Proficient in Java and Python programming languages
Experience in developing web applications using frameworks such as Spring and Django
Familiarity with database technologies such as MySQL and MongoDB
Strong problem-solving and analytical skills
Ability to work in a team and collaborate ef
In the next 5 years, I see myself as a senior software engineer leading a team of developers.
I plan to continue learning and expanding my skillset
I hope to take on more leadership roles and mentor junior developers
I aim to contribute to the development of innovative software solutions
I plan to stay up-to-date with the latest technologies and industry trends
Find sum of all numbers formed from root to leaf path in a binary tree
Traverse the binary tree using DFS
At each leaf node, add the number formed from root to leaf path to a sum variable
Return the sum variable
Time complexity: O(n)
Example: For a binary tree with root value 1, left child 2 and right child 3, the sum would be 12 + 13 = 25
Given a string, print all possible strings that can be made by placing spaces (zero or one) in between them.
Use recursion to generate all possible combinations of spaces
For each recursive call, either add a space or don't add a space between the current character and the next character
Base case is when there are no more characters left to add spaces between
Time complexity is O(2^n) where n is the length of the string
Preorder traversal without recursion
Use a stack to keep track of nodes
Push right child first and then left child onto stack
Pop top of stack and print value
Repeat until stack is empty
Find longest continuous patch on a 12 km road with updates in patches
Maintain a variable to keep track of current patch length
Update the variable whenever a new patch is added
Maintain a variable to keep track of longest patch so far
Compare current patch length with longest patch length and update if necessary
Use a sorted data structure like a binary search tree to store the patches for efficient search
Time complexity: ...
Find median of an unsorted array.
Sort the array and find the middle element
Use quickselect algorithm to find the median in O(n) time
If the array is small, use brute force to find the median
Find 'k' elements closest to a given number from a stream of characters.
Use a priority queue to keep track of closest elements.
Update the queue as new characters come in.
Return the 'k' closest elements from the queue.
Design a data structure with O(1) insert, remove, find-max, and delete-max operations.
Use a doubly linked list to maintain the elements in sorted order.
Use a hash table to store the pointers to the nodes in the linked list.
Maintain a pointer to the maximum element in the hash table.
Update the pointers in the hash table when inserting or removing elements.
Update the maximum pointer when deleting or inserting the maximum
Check if a given linked list is a palindrome.
Traverse the linked list and store the values in an array.
Compare the first and last elements of the array, then move towards the center.
If all elements match, the linked list is a palindrome.
Alternatively, use two pointers to find the middle of the linked list and reverse the second half.
Compare the first half with the reversed second half to check for a palindrome.
Some of the top questions asked at the Qualitas Solutions interview -
based on 1 review
Rating in categories
Consultant
10
salaries
| ₹7.8 L/yr - ₹14 L/yr |
Senior Consultant
7
salaries
| ₹10.2 L/yr - ₹12.5 L/yr |
Associate Manager
5
salaries
| ₹12 L/yr - ₹22 L/yr |
Data Analyst
5
salaries
| ₹5 L/yr - ₹11.5 L/yr |
Business Consultant
5
salaries
| ₹5 L/yr - ₹7.3 L/yr |
TCS
Accenture
Wipro
Cognizant