Filter interviews by
It was good as the questions were easy.
Top trending discussions
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs allows for the organization of code into reusable components called objects.
Encapsulation, inheritance, and polymorphism are key principles of OOPs.
Examples of OOPs languages include Java, C++, and Python.
Rotate a matrix by 90 degrees clockwise
Transpose the matrix
Reverse each row of the transposed matrix
I'm navigating life's challenges with optimism, focusing on personal growth and professional development while maintaining a healthy work-life balance.
I recently completed a challenging project at work, which enhanced my skills in software development and teamwork.
I've been dedicating time to learning new programming languages, such as Python and JavaScript, to stay updated in the tech field.
In my personal life, I've s...
I applied via Approached by Company and was interviewed in Apr 2024. There was 1 interview round.
Medium-Hard leetcode level question
I applied via LinkedIn and was interviewed in Apr 2023. There were 3 interview rounds.
Linked list questions and DFS problems
posted on 12 Nov 2024
I applied via Approached by Company and was interviewed in May 2024. There was 1 interview round.
To make an array of strings unique, count the number of duplicate elements and increment them accordingly.
Iterate through the array and keep track of the frequency of each element.
For each duplicate element, increment it to make the array unique.
Return the total number of increment operations needed.
Sum all numbers formed from root to leaf paths in a binary tree
Traverse the tree from root to leaf nodes, keeping track of the current number formed
Add the current number to the sum when reaching a leaf node
Recursively explore left and right subtrees
Basic aptitude questions, you can find on internet.
To optimize reversal process in a tree, use iterative post-order traversal with a stack.
Implement iterative post-order traversal using a stack to efficiently reverse the tree.
Start by pushing the root node onto the stack.
While the stack is not empty, pop a node, push its children onto the stack in reverse order, and then push the node itself.
Repeat this process until all nodes have been visited and reversed.
This method...
based on 1 interview experience
Cognizant
Teleperformance
iEnergizer
Reliance Retail