Filter interviews by
I appeared for an interview in Nov 2021.
Round duration - 25 Minutes
Round difficulty - Medium
The round was very good i performed really very well. The interviewer was quite polite. He asked me many questions and i almost gave all the answers.
Round duration - 50 Minutes
Round difficulty - Easy
Tech + HR round
You are provided with an integer array ARR
of size N
along with two integers A
and B
. Your task is to determine if there exist two distinct indices in...
The task is to determine if there exist two distinct indices in the array such that the absolute difference of the values at those indices is less than or equal to B and the absolute difference of the indices is less than or equal to A.
Iterate through the array and keep track of the indices and values encountered so far
Use a hashmap to store the values and their indices
Check if the absolute difference of values is less...
Tip 1 : Do not rush into things. Learning takes time. Focus should be on the concepts and not just on leaving topics half-prepared. Devote 70% of both time and effort to DSA. I solved a total of around 500 questions on sites like GFG and Leetcode. Do not repeat similar questions just to increase the count of the number of questions
Tip 2 : Revise data structures and algorithms.
Tip 3 : Revise HTML,CSS,JS.
Tip 4 : Be confident.
Tip 1 : Don't make it too lengthy.
Tip 2 : Mention all your skills.
Tip 3 : Mention all your projects.
Tip 4 : Don't put false things in your resume.
I appeared for an interview in Oct 2021.
Round duration - 40 minutes
Round difficulty - Medium
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the ...
Detect if a singly linked list forms a cycle by checking if a node's next pointer points back to a previous node.
Use Floyd's Tortoise and Hare algorithm to detect a cycle in O(N) time complexity and O(1) space complexity.
Initialize two pointers, slow and fast, and move them at different speeds through the list.
If there is a cycle, the fast pointer will eventually meet the slow pointer.
If the fast pointer reaches the en...
Round duration - 45 Minutes
Round difficulty - Easy
Tech +HR round
Given an array called levelOrder
consisting of 'N' elements, this array represents the level order traversal of a Binary Search Tree (BST). Your task is to cons...
Construct a Binary Search Tree (BST) from its level order traversal and print the inorder traversal.
Create a BST from the given level order traversal array by inserting elements in the correct order.
Use a queue to keep track of nodes while constructing the BST.
Traverse the constructed BST in inorder to get the desired output.
Example: For level order traversal [5, 3, 6, 2, 4, 7], the inorder traversal of the constructed...
Tip 1 : Revise data structures and algorithm.
Tip 2 : Revise HTML, CSS, JS and show your projects.
Tip 3 : Be confident.
Tip 1 : Mention your projects
Tip 2 : Put things in chronological order.
I appeared for an interview before Nov 2020.
Round duration - 30 Minutes
Round difficulty - Medium
The interview and the interviewer were pretty good. The time was about 4pm. The environment was very good and the interviewer was very calm and humble. He asked me a question in which I was stucked but he gave me a small hint and then i gave the answer of that question.
The task is to determine the index of the last occurrence of a specified element x
within an array that may contain duplicate elements. If the element is not present, return -1.
Find the index of the last occurrence of a specified element in an array.
Iterate through the array from right to left to find the last occurrence of the element.
Return the index if found, otherwise return -1.
Consider 0-based indexing for the array.
Tip 1 : Prepare HTML, CSS, and JS thoroughly.
Tip 2 : Revise Data Structures.
Tip 3 : Revise your project if any.
Tip 1 : Mention all your great achievements.
Tip 2 : Mention your projects.
Tip 3 : Mention if you have previously did any internship.
Top trending discussions
I applied via Naukri.com and was interviewed in Jun 2021. There was 1 interview round.
I applied via Referral
The most used programming language is currently JavaScript due to its versatility and popularity.
JavaScript is used for both front-end and back-end development
It is the language of the web and is supported by all major browsers
It has a large and active community with many resources available
Other popular languages include Python, Java, and C++
I applied via Naukri.com and was interviewed in Oct 2021. There was 1 interview round.
I applied via Company Website
TCS
Accenture
Wipro
Cognizant