i
PolicyBazaar
Work with us
Filter interviews by
Create a todo list using React for managing tasks and reminders.
Use React components to create a form for adding tasks
Store tasks in state and display them in a list
Add functionality to mark tasks as completed and delete tasks
Implement features like filtering tasks by status or due date
A queue is a linear data structure that follows the First In First Out (FIFO) principle for managing elements.
A queue can be implemented using arrays or linked lists.
In an array-based queue, elements are added at the rear and removed from the front.
Example operations: enqueue (add), dequeue (remove), peek (view front element).
Circular queues can optimize space by reusing empty slots.
Queues are commonly used in sce...
Microservices are a software architecture pattern where applications are built as a collection of small, loosely coupled services.
Microservices are independent and autonomous services that communicate with each other through APIs.
Each microservice is responsible for a specific business capability and can be developed, deployed, and scaled independently.
Microservices promote flexibility, scalability, and resilience...
REST APIs are a set of rules and protocols that allow different software applications to communicate and interact with each other over the internet.
REST stands for Representational State Transfer
REST APIs use HTTP methods like GET, POST, PUT, DELETE to perform operations on resources
REST APIs are stateless, meaning each request from a client to a server contains all the necessary information
REST APIs typically ret...
SOAP APIs are a protocol for exchanging structured information in web services using XML-based messages.
SOAP stands for Simple Object Access Protocol
It is a messaging protocol that allows programs running on different operating systems to communicate with each other
SOAP APIs use XML to format the data being sent
They are commonly used in enterprise-level applications for integrating different systems
SOAP APIs provi...
A polyfill is a piece of code that provides modern functionality on older browsers that do not natively support it.
Polyfills are commonly used for adding support for new JavaScript features on older browsers.
Two popular polyfills are 'Babel' for ES6 features and 'fetch' for the Fetch API.
Polyfills help ensure a consistent user experience across different browsers.
Polyfills can be implemented using JavaScript libra...
Microservices are a software architecture pattern where applications are built as a collection of small, loosely coupled services.
Microservices are independent and autonomous services that communicate with each other through APIs.
Each microservice is responsible for a specific business capability and can be developed, deployed, and scaled independently.
Microservices promote flexibility, scalability, and resilience in s...
SOAP APIs are a protocol for exchanging structured information in web services using XML-based messages.
SOAP stands for Simple Object Access Protocol
It is a messaging protocol that allows programs running on different operating systems to communicate with each other
SOAP APIs use XML to format the data being sent
They are commonly used in enterprise-level applications for integrating different systems
SOAP APIs provide a ...
REST APIs are a set of rules and protocols that allow different software applications to communicate and interact with each other over the internet.
REST stands for Representational State Transfer
REST APIs use HTTP methods like GET, POST, PUT, DELETE to perform operations on resources
REST APIs are stateless, meaning each request from a client to a server contains all the necessary information
REST APIs typically return d...
I applied via Referral and was interviewed before Sep 2023. There was 1 interview round.
A queue is a linear data structure that follows the First In First Out (FIFO) principle for managing elements.
A queue can be implemented using arrays or linked lists.
In an array-based queue, elements are added at the rear and removed from the front.
Example operations: enqueue (add), dequeue (remove), peek (view front element).
Circular queues can optimize space by reusing empty slots.
Queues are commonly used in scenario...
A polyfill is a piece of code that provides modern functionality on older browsers that do not natively support it.
Polyfills are commonly used for adding support for new JavaScript features on older browsers.
Two popular polyfills are 'Babel' for ES6 features and 'fetch' for the Fetch API.
Polyfills help ensure a consistent user experience across different browsers.
Polyfills can be implemented using JavaScript libraries ...
Create a todo list using React for managing tasks and reminders.
Use React components to create a form for adding tasks
Store tasks in state and display them in a list
Add functionality to mark tasks as completed and delete tasks
Implement features like filtering tasks by status or due date
Top trending discussions
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
This round was held during university hours and consisted of 2 coding questions.
Round duration - 120 minutes
Round difficulty - Easy
Make sure you do no cutting and are clear about the approach you'd be following.
Running median of an input stream is the median value of the numbers seen so far in a continuous stream of data.
Maintain two heaps - a max heap for the lower half of the numbers and a min heap for the upper half.
Keep the number of elements in the two heaps balanced or differ by at most 1.
If the total number of elements is odd, the median is the root of the max heap. If even, it is the average of the roots of the two he...
Prepare for company-wise interview questions according to the company in which you are applying. Try to write the code yourself and if got stuck in between then take help from the internet. I recommend you Codezen of Coding Ninjas for practicing Data Structures and Algorithms based questions.
Application resume tips for other job seekersBe sure 100% of what you write in your resume and prepare for that before the interview what is written on resume.
Final outcome of the interviewSelectedI appeared for an interview before Sep 2020.
Round duration - 60 minutes
Round difficulty - Medium
Medium level competitive programming question. Interviewer looked for the approach and working code.
You are given a binary tree consisting of 'N' unique nodes and a start node where the burning will commence. The task is to calculate the time in minutes required to completely b...
Calculate the time in minutes required to completely burn a binary tree starting from a given node.
Perform a depth-first search (DFS) to calculate the time taken to burn the entire tree.
Track the time taken to burn each node based on its distance from the starting node.
Consider the maximum time taken among all nodes as the total time to burn the entire tree.
Round duration - 40 minutes
Round difficulty - Medium
Timing : Evening
Interviewer was frank. He checked for indepth knowledge of the subject.
Tip 1 : Leave a subject to prepare, but never leave a topic.
Tip 2 : Must go through previous years questions / interview experiences.
Tip 3 : Atleast 4 projects in CV
Tip 1 : At least 4 projects (working)
Tip 2 : Never put false things on resume.
I appeared for an interview before Jan 2021.
Round duration - 60 minutes
Round difficulty - Easy
Two coding questions were given in the first round to be solved in 60 minutes.
Given an array A
containing 'N' integers and an integer m
, rearrange the elements of the array such that the differences between the array elements and m
are sor...
Rearrange array elements based on their differences from a given integer.
Calculate the differences between each element and the given integer.
Sort the elements based on their differences while maintaining the original order for elements with the same difference.
Implement a function to rearrange the array elements as per the given criteria.
Given an arbitrary binary tree, a node of the tree, and an integer 'K', find all nodes that are at a distance K from the specified node, and return a list of th...
The task is to find all nodes in a binary tree that are at a distance K from a given node.
Traverse the binary tree to find the given node
From the given node, perform a depth-first search to find all nodes at distance K
Use a list to store the values of the nodes at distance K
Return the list of values in any order
Round duration - 60 minutes
Round difficulty - Easy
This was a technical round with questions based on DSA, DBMS, Computer Networking and project based questions.
Ninja is tasked with printing a triangle pattern based on a given number 'N' for any test case.
N = 4
1
232
34545
4567654
The pat...
Print a triangle pattern of numbers based on a given number 'N'.
Iterate through each row and print the numbers accordingly
Use spaces to center-align the numbers in each row
Increment the numbers in each row as per the pattern
Web server serves static content over HTTP, while application server runs dynamic content and business logic.
Web server handles HTTP requests and responses, serving static content like HTML, images, and CSS.
Application server executes business logic, runs dynamic content, and interacts with databases.
Web server examples include Apache, Nginx, while application server examples include Tomcat, JBoss.
Web server focuses on...
The internet is a global network of interconnected computers that communicate using standardized protocols.
The internet is made up of a vast number of interconnected networks of computers.
Data is transmitted over the internet using protocols such as TCP/IP.
Websites are hosted on servers connected to the internet, and users access them using web browsers.
Internet Service Providers (ISPs) provide access to the internet f...
SQL query to find the nth highest salary
Use the 'SELECT DISTINCT' statement to get unique salary values
Order the salaries in descending order using 'ORDER BY' clause
Use 'LIMIT' and 'OFFSET' to get the nth highest salary
Round duration - 30 minutes
Round difficulty - Easy
Typical HR round with behavioral problems.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I appeared for an interview before Dec 2020.
Round duration - 60 Minutes
Round difficulty - Medium
This round was purely based on Data Structures and Algorithms . One has to be fairly comfortable in solving Algorithmic problems to pass this round . Both the questions asked were quite common and luckily I had already prepared them from CodeStudio and LeetCode.
Given a Binary Tree with 'N' nodes, where each node holds an integer value, your task is to compute the In-Order, Pre-Order, and Post-Order traversals of the binar...
Compute the In-Order, Pre-Order, and Post-Order traversals of a Binary Tree given in level-order format.
Implement functions to perform In-Order, Pre-Order, and Post-Order traversals of a Binary Tree.
Use level-order input to construct the Binary Tree.
Traverse the Binary Tree recursively to generate the required traversals.
Ensure proper handling of null nodes represented by -1 in the input.
Return the three traversals as ...
Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.
The first line of input is an intege...
Reverse a singly linked list by altering the links between nodes.
Iterate through the linked list and reverse the links between nodes
Use three pointers to keep track of the current, previous, and next nodes
Update the links between nodes to reverse the list
Return the head of the reversed linked list
Round duration - 45 Minutes
Round difficulty - Medium
This round basically tested some concepts from Data Structures and File Manipulation .
Given two arrays A
and B
with sizes N
and M
respectively, both sorted in non-decreasing order, determine their intersection.
The intersection of two arrays in...
The problem involves finding the intersection of two sorted arrays efficiently.
Use two pointers to iterate through both arrays simultaneously.
Compare elements at the pointers and move the pointers accordingly.
Handle cases where elements are equal and update the intersection array.
Return the intersection array as the result.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 30 Nov 2015
I applied via Campus Placement
I applied via Referral
Convert a sorted array to balanced binary search tree
Find the middle element of the array and make it the root of the tree
Recursively construct the left subtree using the left half of the array
Recursively construct the right subtree using the right half of the array
Repeat until all elements are added to the tree
Reverse a singly linked list in groups of k inplace
Divide the linked list into groups of k nodes
Reverse each group of k nodes
Connect the reversed groups to form the final linked list
A recursive routine to calculate a ^ n
The base case is when n is 0, in which case the result is 1
For any other value of n, the result is a multiplied by the result of a^(n-1)
The recursive function should call itself with a^(n-1) as the new input
Design optimal data structure for never-ending stream of numbers for insertion, deletion, searching, kth largest and kth smallest.
Use a balanced binary search tree like AVL or Red-Black tree for efficient insertion, deletion, and searching.
Maintain two heaps, one for kth largest and one for kth smallest.
For finding kth largest, use a min heap of size k and for kth smallest, use a max heap of size k.
Alternatively, use a...
based on 2 interview experiences
Difficulty level
Duration
based on 4 reviews
Rating in categories
Sales Executive
1.3k
salaries
| ₹1.8 L/yr - ₹5.5 L/yr |
Associate Sales Consultant
1.3k
salaries
| ₹2 L/yr - ₹4.5 L/yr |
Relationship Manager
1k
salaries
| ₹2.3 L/yr - ₹6 L/yr |
Team Lead
431
salaries
| ₹4.8 L/yr - ₹10 L/yr |
Sales Associate
415
salaries
| ₹1.8 L/yr - ₹5.5 L/yr |
Amazon
Flipkart
Indiamart Intermesh
BigBasket