Filter interviews by
I was interviewed in Nov 2020.
Round duration - 160 minutes
Round difficulty - Easy
The online assessment consisted of four components, a code debugging section (20 minutes), a coding test (70 minutes), a workstyles assessment (20 minutes) and a reasoning ability section (35 minutes). Code debugging questions were pretty simple and straightforward. The coding test consisted of 2 questions, first was similar to two Sum problem. Second question was similar to find the critical edges in a graph. The workstyles assessment section contained certain behavioural questions.
Reasoning ability section consisted of aptitude questions. This round was basically to check the problem solving skills of the candidate.
We cannot use th...
The brute force approach to find all the bridges in a given graph is to check for every edge if it is a bridge or not, by first not considering current edge is not in given graph and then checking if the vertices that it was connecting are still connected or not, using DFS(DepthFirst Search). Given below is an algorithm that will find all bridges in a graph.
Algorithm :
Round duration - 50 minutes
Round difficulty - Easy
I was asked two coding questions. First question was related to binary tree and second question was to implement LRU cache.
I had to code both questions. The interviewer asked me the time and space complexity for both the questions.
If we have to process a subtree from the tree, it is better to process the child subtrees first i.e. PostOrder Traversal. This strategy will help us in two ways-
Here, is the complete recursive algorithm
We will use an array of type Pair<key, value> to implement our LRU Cache where the larger the index is, the more recently the key is used. Means, the 0th index denotes the least recently used pair, and the last index denotes the most recently used pair.
The key will be considered as accessed if we try to perform any operation on it. So while performing the get operation on a key, we will do a ...
Round duration - 30 minutes
Round difficulty - Easy
I was asked two coding questions and some conceptual questions about priority heap data structure. I was able to code the optimized approach for the first question. But second question was a little tricky for me as I had never heard it before.
It can be observed with some examples that for any number N, the permutation following Langford pairing is possible only if either N mod 4 is 0 or 3. Thus, Langford pairing is possible for 3, 4, 7, 8, etc, and not possible for 1, 2, 5, 6, etc. Now to find the sequence,
The idea here is to maintain a sorted list of seat numbers of the persons sitting in the theater. For every query of type 2, we can directly remove the seat number from our list. For every query of type 1, we will iterate over the list and find the lowest seat number, which is empty and has a maximum distance from the closest person in the theater and place the new person accordingly.
Tip 1 : Be very clear with the basics of each topic.
Tip 2 : Be thorough with the projects mentioned in the resume.
Tip 1 : Don't lie on your resume.
Tip 2 : The number of projects on the resume does not matter, what matters is that you must be thorough with your projects.
Tip 3 : Do not write too much, it should be simple and decent
Top trending discussions
I applied via LinkedIn and was interviewed in Sep 2024. There were 2 interview rounds.
Easy Questions- Can be done with decent practice
posted on 13 Dec 2024
I applied via campus placement at SRM university (SRMU) and was interviewed in Nov 2024. There were 3 interview rounds.
It is easy and not that much tough.
Both questions from strings
I am a passionate software developer with experience in Java, Python, and web development.
Experienced in Java and Python programming languages
Proficient in web development technologies like HTML, CSS, and JavaScript
Currently pursuing a degree in Computer Science
I applied via LinkedIn and was interviewed in Jul 2024. There were 2 interview rounds.
Test has many reasoning and coding question work on building logic and data Structure
Coding round is kind of tough practice dsa questions and build your logic
I applied via campus placement at BRACT's Vishwakarma Institute of Information Technology, Pune and was interviewed in May 2024. There were 2 interview rounds.
Leetcode medium questions was asked on hackerrank
A database is a structured collection of data, while system design involves creating a plan for how different components of a system will work together.
Database is used to store and organize data in a structured manner.
System design involves creating a plan for how different components of a system will interact and work together efficiently.
Examples of databases include MySQL, PostgreSQL, and MongoDB.
Examples of system...
posted on 17 Nov 2024
I applied via Company Website and was interviewed in Nov 2023. There were 2 interview rounds.
Assign a remote coding assessment
Clearly define the problem statement and requirements
Provide a set of input/output examples for testing
Specify the programming language and any constraints
Set a time limit for completion
Include instructions for submission and evaluation
The task of Assignment
Normal and easy coding questions
Sorting methods are algorithms used to arrange elements in a specific order.
Sorting methods include bubble sort, selection sort, insertion sort, merge sort, quick sort, etc.
They can be categorized as comparison-based or non-comparison-based algorithms.
Examples: Bubble sort compares adjacent elements and swaps them if they are in the wrong order.
Merge sort divides the array into two halves, sorts them separately, and th
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in May 2024. There were 2 interview rounds.
Moderate difficulty level questions were asked
High difficulty level questions were asked
TCS
Accenture
Wipro
Cognizant