Filter interviews by
You are provided with a Binary Search Tree (BST) containing 'N' nodes with integer data. Your task is to remove a given node from this BST.
A BST is a b...
Delete a given node from a Binary Search Tree (BST) and return the inorder traversal of the modified BST.
Traverse the BST to find the node to be deleted.
Handle different cases like node with no children, one child, or two children.
Update the pointers of the parent node and child nodes accordingly.
Perform inorder traversal after deletion to get the modified BST.
Given the root node of a binary search tree and a positive integer, you need to insert a new node with the given value into the BST so that the resulting tree maintains the pro...
Insert a new node with a given value into a binary search tree while maintaining the properties of a BST.
Traverse the BST starting from the root node and compare the value to be inserted with each node's value to determine the correct position for insertion.
Insert the new node as a leaf node in the appropriate position to maintain the BST properties.
Ensure that the resulting tree is a valid binary search tree by f...
A Binary Search Tree (BST) is a data structure where each node has at most two children, with the left child being less than the parent and the right child being greater.
Nodes in a BST are arranged in a hierarchical order where the left subtree of a node contains only nodes with keys less than the node's key, and the right subtree contains only nodes with keys greater than the node's key.
BST allows for efficient s...
Given an array arr
of length N
consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.
Find the sum of the subarray with the maximum sum among all subarrays in a given array.
Iterate through the array and keep track of the maximum sum subarray encountered so far.
Use Kadane's algorithm to efficiently find the maximum subarray sum.
Consider the case where all elements in the array are negative.
Handle the case where the array contains only one element.
ViewModel in Android is a class that is responsible for preparing and managing data for an activity or fragment.
ViewModel is part of the Android Architecture Components and is used to store and manage UI-related data in a lifecycle-conscious way.
It survives configuration changes such as screen rotations and retains data during the lifecycle of the activity or fragment.
ViewModel should never hold a reference to a v...
RecyclerView is a flexible view for providing a limited window into a large data set.
RecyclerView recycles views to improve performance and memory usage.
It uses a LayoutManager to organize and position items within the view.
Adapter provides data to be displayed in the RecyclerView.
ItemDecoration allows for custom drawing of item decorations like borders or dividers.
You are provided with a binary array, i.e., an array containing only 0s and 1s. Your task is to sort this binary array and return it after sorting.
The firs...
Yes, the binary array sorting problem can be solved in linear time and constant space by using a two-pointer approach.
Use two pointers, one starting from the beginning of the array and the other starting from the end.
Swap 0s to the left side and 1s to the right side by incrementing and decrementing the pointers accordingly.
Continue this process until the two pointers meet in the middle of the array.
Example: Input:...
Polymorphism in OOP allows objects of different classes to be treated as objects of a common superclass.
Polymorphism allows for flexibility and reusability in code.
It enables a single interface to be used for different data types.
Examples include method overriding and method overloading.
Operator overloading is the ability to redefine the behavior of operators for user-defined data types.
Allows operators to be used with custom data types
Can define custom behavior for operators like +, -, *, etc.
Helps make code more readable and intuitive
Example: Overloading the + operator for a custom Vector class to add two vectors
You are given a positive integer n
. Your task is to identify the largest prime factor of this given positive integer.
If there is no prime factor for a given integer...
Identify the largest prime factor of a given positive integer.
Iterate from 2 to sqrt(n) to find prime factors
Check if each factor is prime and update largest prime factor
If no prime factor found, output -1
I applied via Campus Placement and was interviewed in Dec 2024. There were 3 interview rounds.
Basic aptitude questions
Gave the topic on social median boon or bane
I applied via Internshala and was interviewed in Nov 2024. There was 1 interview round.
Testing is required to ensure the quality and functionality of software applications.
Identify defects and bugs in the software
Ensure the software meets the requirements and specifications
Verify that the software functions correctly under different scenarios
Improve user experience and satisfaction
Reduce the risk of software failures and issues
Examples: Regression testing, performance testing, usability testing
The process is important because it ensures quality, efficiency, and consistency in the outcome.
Ensures quality control by following specific steps and guidelines
Improves efficiency by streamlining tasks and reducing errors
Maintains consistency in the outcome by standardizing procedures
Helps in identifying and resolving issues early in the development cycle
I appeared for an interview in Mar 2025, where I was asked the following questions.
In high-pressure situations, I prioritize transparency, collaboration, and swift decision-making to maintain team trust and morale.
Assess the situation quickly: Gather essential information to understand the implications of the decision.
Communicate openly: Inform the team about the decision-making process and the reasons behind it, fostering trust.
Involve the team: If time allows, seek input from key team members to en...
A comprehensive GTM strategy involves market analysis, positioning, and targeted outreach to ensure product success.
Conduct thorough market research to identify target audience and their needs.
Develop a unique value proposition that differentiates the product from competitors.
Create a multi-channel marketing plan, including digital, social media, and traditional advertising.
Leverage partnerships and collaborations to e...
React is a JavaScript library for building user interfaces, known for its efficiency and flexibility.
React allows for the creation of reusable UI components, making development faster and more efficient.
It uses a virtual DOM for optimal performance by only updating the necessary components when data changes.
React's component-based architecture promotes code reusability and maintainability.
It has a large and active comm...
I appeared for an interview in Feb 2025, where I was asked the following questions.
I am passionate about fostering a positive workplace culture and supporting employee growth through HR practices.
I believe that a strong HR function is essential for employee satisfaction and retention, as seen in companies with high employee engagement scores.
I am drawn to the opportunity to help shape organizational culture, similar to how Google emphasizes innovation and collaboration.
I enjoy working with people and...
As an HR intern, my roles include supporting recruitment, onboarding, employee engagement, and administrative tasks.
Assist in the recruitment process by screening resumes and scheduling interviews.
Help with onboarding new employees by preparing orientation materials and conducting sessions.
Support employee engagement initiatives, such as organizing team-building activities.
Maintain employee records and assist with HR a...
I applied via Campus Placement and was interviewed in Dec 2024. There was 1 interview round.
Questions were asked based on my projects, React and Nodejs.
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
I have experience applying machine learning techniques for data analysis, including predictive modeling and data visualization.
Utilized regression analysis to predict sales trends based on historical data.
Implemented clustering algorithms to segment customers for targeted marketing.
Developed classification models to identify fraudulent transactions in financial datasets.
Used decision trees to analyze patient data for p...
I applied via Approached by Company and was interviewed in Nov 2023. There were 2 interview rounds.
Top trending discussions
Some of the top questions asked at the Times Internet interview -
The duration of Times Internet interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 49 interview experiences
Difficulty level
Duration
based on 708 reviews
Rating in categories
Senior Software Engineer
149
salaries
| ₹20.9 L/yr - ₹33.6 L/yr |
Product Manager
108
salaries
| ₹21 L/yr - ₹31.6 L/yr |
Software Developer
99
salaries
| ₹13 L/yr - ₹27 L/yr |
Manager
74
salaries
| ₹12.5 L/yr - ₹22 L/yr |
Accounts Manager
67
salaries
| ₹5.5 L/yr - ₹11.4 L/yr |
Amazon
Flipkart
Indiamart Intermesh
BigBasket