i
Coditas Technologies
Filter interviews by
All aptitude question to do
Random topic and intro etc
Top trending discussions
posted on 17 Oct 2021
I applied via Naukri.com and was interviewed before Oct 2020. There were 4 interview rounds.
posted on 18 May 2021
I applied via Walk-in and was interviewed before May 2020. There were 4 interview rounds.
The left view of a tree shows the nodes visible from the left side of the tree.
The leftmost node of each level is visible in the left view.
Nodes to the right of the leftmost node are not visible in the left view.
The left view can be obtained using a depth-first search or a breadth-first search algorithm.
To find nth node from last in a linked list in one traversal
Use two pointers, one at the head and the other at nth node from head
Move both pointers simultaneously until the second pointer reaches the end
The first pointer will be at the nth node from last
I applied via Referral and was interviewed in Aug 2023. There were 2 interview rounds.
Leetcode practice should be sufficient to tackle this round.
Trapping Rain Water problem involves calculating the amount of water that can be trapped between buildings given their heights.
Calculate the maximum height of buildings to the left and right of each building
Find the minimum of the two heights
Subtract the height of the current building to get the amount of water that can be trapped at that building
I applied via Company Website and was interviewed in Jun 2024. There were 3 interview rounds.
3 questions, medium hard
I applied via Campus Placement and was interviewed before Mar 2021. There were 4 interview rounds.
90 minute test on hacker rank consisting of 3 coding questions all of medium difficulty. Most candidates are required to solve more than 1 question.
Find the lowest common ancestor of a binary tree.
Traverse the tree recursively from the root node.
If the current node is null or matches either of the given nodes, return the current node.
Recursively search for the nodes in the left and right subtrees.
If both nodes are found in different subtrees, return the current node.
If both nodes are found in the same subtree, continue the search in that subtree.
Find first missing positive integer from an array of non-negative integers.
Create a hash set to store all positive integers in the array
Loop through the array and add all positive integers to the hash set
Loop through positive integers starting from 1 and return the first missing integer not in the hash set
Design a parking lot
Consider the size and capacity of the parking lot
Decide on the layout and organization of parking spaces
Implement a system to manage parking availability and reservations
Include features like ticketing, payment, and security
Consider scalability and future expansion
Group list of strings into distinct anagrams.
Create a hash table with sorted string as key and list of anagrams as value.
Iterate through the list of strings and add each string to its corresponding anagram list in the hash table.
Return the values of the hash table as a list of lists.
I applied via Instahyre and was interviewed in Oct 2021. There was 1 interview round.
Design a schema for a restaurant app like Zomato.
Create tables for restaurants, menus, reviews, and users.
Include columns for restaurant name, location, cuisine, and ratings.
Add columns for menu items, prices, and descriptions.
Include user information such as name, email, and password.
Create relationships between tables using foreign keys.
Implement search and filter functionality for restaurants and menus.
Allow users t...
A transaction is a unit of work that is performed on a database.
A transaction is a sequence of database operations that are treated as a single unit of work.
It ensures that all the operations are completed successfully or none of them are performed.
Transactions are used to maintain data consistency and integrity in a database.
Examples of transactions include transferring money between bank accounts or updating inventor
SQL is a relational database while NoSQL is a non-relational database.
SQL databases use structured query language while NoSQL databases use unstructured query language.
SQL databases are vertically scalable while NoSQL databases are horizontally scalable.
SQL databases are good for complex queries while NoSQL databases are good for large amounts of unstructured data.
Examples of SQL databases include MySQL, Oracle, and Po...
Multitasking in Java can be achieved through multithreading.
Create a new thread using the Thread class or Runnable interface
Use the start() method to start the thread
Synchronize shared resources to avoid race conditions
Use wait() and notify() methods for inter-thread communication
Example: creating a thread to perform a long-running task while the main thread continues executing other tasks
Semaphores are a synchronization tool used to control access to a shared resource.
Semaphores can be used to prevent race conditions in multi-threaded programs.
They can be used to limit the number of concurrent accesses to a resource.
Semaphores can be binary (0 or 1) or counting (0 to n).
Examples of semaphore functions include wait(), signal(), and init().
I applied via Company Website and was interviewed in Apr 2021. There was 1 interview round.
I applied via Company Website and was interviewed in Nov 2021. There were 3 interview rounds.
based on 1 interview
Interview experience
Software Engineer
412
salaries
| ₹3.6 L/yr - ₹12.5 L/yr |
Associate Software Engineer
149
salaries
| ₹1 L/yr - ₹9.1 L/yr |
Software Developer
144
salaries
| ₹5 L/yr - ₹17 L/yr |
Senior Software Engineer
113
salaries
| ₹10 L/yr - ₹35 L/yr |
Data Engineer
59
salaries
| ₹6 L/yr - ₹14 L/yr |
Mobile Programming
Diverse Lynx
Arcesium
Solartis Technology Services