Add office photos
Engaged Employer

Snapdeal

3.8
based on 645 Reviews
Video summary
Filter interviews by

100+ Performance.io Interview Questions and Answers

Updated 6 Jul 2024
Popular Designations

Q101. Sell your cell phone or if you have a ballpen.

Ans.

I'll sell you my ballpen, it writes smoothly and has a comfortable grip.

  • This ballpen writes smoothly and effortlessly

  • It has a comfortable grip that makes writing easy

  • The ink is long-lasting and doesn't smudge

  • It's perfect for everyday use, whether at home, school, or work

Add your answer

Q102. Vertical sum of binary tree

Ans.

Vertical sum of binary tree is the sum of all nodes in each vertical line of the tree.

  • Traverse the tree in-order and keep track of the horizontal distance of each node from the root.

  • Use a hash table to store the sum of nodes at each horizontal distance.

  • Recursively traverse the left and right subtrees and update the hash table accordingly.

Add your answer

Q103. In array find max product of three numbers

Ans.

Find the maximum product of three numbers in an array.

  • Sort the array in ascending order.

  • Multiply the last three numbers in the sorted array to get the maximum product.

  • If there are negative numbers in the array, consider multiplying the two smallest negative numbers with the largest positive number.

Add your answer

Q104. How you can help increase revenue for SD

Ans.

I can help increase revenue for SD by identifying new business opportunities, building strong relationships with clients, and implementing effective sales strategies.

  • Identifying new business opportunities through market research and analysis

  • Building strong relationships with clients through effective communication and customer service

  • Implementing effective sales strategies such as cross-selling and upselling

  • Collaborating with marketing and product teams to develop targeted ca...read more

Add your answer
Discover Performance.io interview dos and don'ts from real experiences

Q105. Find loop in a linked list.

Ans.

Loop detection in a linked list.

  • Use two pointers, one moving at twice the speed of the other.

  • If there is a loop, the faster pointer will eventually catch up to the slower one.

  • If there is no loop, the faster pointer will reach the end of the list.

Add your answer

Q106. defective ball puzzle problem

Ans.

Defective ball puzzle involves finding the odd ball out of a group of identical balls using a balance scale.

  • Divide the balls into groups and weigh them on the balance scale.

  • If the scale tips, the odd ball is in the heavier group.

  • If the scale doesn't tip, the odd ball is in the remaining group.

  • Repeat the process until the odd ball is found.

  • Example: 8 identical balls, one is heavier. Divide into groups of 3 and weigh. If the scale tips, weigh two of the three balls to find the ...read more

Add your answer
Are these interview questions helpful?

Q107. Reverse link list of given chunk k

Ans.

Reverse a linked list in chunks of k nodes

  • Break the linked list into chunks of size k

  • Reverse each chunk individually

  • Connect the reversed chunks back together

Add your answer

Q108. Difference between Vector and ArrayList.

Ans.

Vector is synchronized and ArrayList is not. Vector is thread-safe and ArrayList is not.

  • Vector is a legacy class and ArrayList is a part of the Java Collection Framework.

  • Vector is synchronized which means only one thread can access it at a time, while ArrayList is not.

  • Vector is thread-safe which means it can be used in a multi-threaded environment, while ArrayList is not.

  • Vector is slower than ArrayList because of synchronization.

  • Vector increases its size by 100% while ArrayLi...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q109. Number of sparrows in IIT KGP

Ans.

The number of sparrows in IIT KGP is unknown.

  • The exact number of sparrows in IIT KGP is not available.

  • There is no specific data on the population of sparrows in IIT KGP.

  • The number of sparrows in IIT KGP is not documented.

  • No information is available regarding the count of sparrows in IIT KGP.

Add your answer

Q110. Given a dictionary you have to list the anagrams

Add your answer

Q111. Concept of group by and having in SQL

Ans.

Group by is used to group rows that have the same values into summary rows. Having is used to filter groups based on a specified condition.

  • Group by is used with aggregate functions like COUNT, SUM, AVG, etc.

  • Having is used to filter groups based on conditions after the grouping has been done.

  • Example: SELECT department, COUNT(*) FROM employees GROUP BY department HAVING COUNT(*) > 5;

Add your answer

Q112. Diameter of binary tree. -----/

Ans.

The diameter of a binary tree is the number of nodes on the longest path between two leaves in the tree.

  • The diameter of a binary tree can be calculated by finding the longest path between two nodes in the tree.

  • It is not necessarily the same as the height of the tree.

  • The diameter can be found by calculating the sum of the heights of the left and right subtrees of each node.

Add your answer

Q113. Create an immutable class.

Ans.

An immutable class is a class whose instances cannot be modified after creation.

  • Make all fields private and final

  • Don't provide any setter methods

  • Ensure that any mutable objects passed to the constructor are defensively copied

  • Make the class final so that it cannot be subclassed

Add your answer

Q114. What is online shopping What is market need

Ans.

Online shopping is the process of purchasing goods or services over the internet.

  • Online shopping allows customers to browse and buy products from the comfort of their own homes.

  • It offers convenience, as customers can shop anytime and anywhere.

  • Customers have access to a wide variety of products and can compare prices easily.

  • Online shopping eliminates the need to physically visit stores, saving time and effort.

  • Examples of popular online shopping platforms include Amazon, eBay, ...read more

View 1 answer

Q115. Left [or Right] view of a tree

Ans.

Left view of a tree shows the nodes visible when viewed from the left side.

  • Left view of a tree is the nodes that are visible when looking at the tree from the left side.

  • It includes the leftmost node at each level of the tree.

  • Example: For a tree with root node A and left child B, the left view would be [A, B].

Add your answer

Q116. Find the LCA of a binary tree in place

Ans.

The Lowest Common Ancestor (LCA) of a binary tree can be found in place using a recursive approach.

  • Start from the root node and recursively check if both nodes are present in the left and right subtrees.

  • If one node is found in the left subtree and the other in the right subtree, then the current node is the LCA.

  • If both nodes are found in the left subtree, recursively search for the LCA in the left subtree.

  • If both nodes are found in the right subtree, recursively search for th...read more

Add your answer

Q117. why Snapdeal

Ans.

Snapdeal is a leading e-commerce platform in India, offering a wide range of products and services.

  • Snapdeal has a vast product catalog, providing customers with a wide variety of options.

  • The platform offers competitive prices and frequent discounts, making it attractive for customers.

  • Snapdeal has a user-friendly interface and a seamless shopping experience.

  • The company has a strong logistics network, ensuring timely delivery of products.

  • Snapdeal has a robust customer support s...read more

Add your answer

Q118. In array find sum closest to zero

Add your answer

Q119. Create a Singelton pattern.

Ans.

Singleton pattern ensures only one instance of a class is created and provides a global point of access to it.

  • Create a private constructor to prevent direct instantiation of the class.

  • Create a private static instance of the class.

  • Create a public static method to access the instance, and create the instance if it doesn't exist.

  • Ensure thread safety by using synchronized keyword or double-checked locking.

Add your answer

Q120. Road length of Ahmedabad

Ans.

The road length of Ahmedabad is approximately 2,500 kilometers.

  • Ahmedabad has a well-developed road network.

  • The road length includes both national highways and city roads.

  • The road length is constantly expanding due to urban development and infrastructure projects.

  • Major roads in Ahmedabad include the SG Highway, Ashram Road, and C.G. Road.

Add your answer

Q121. Find the pair element from the array

Ans.

Find the pair element from the array

  • Iterate through the array and use a hashmap to store elements and their counts

  • Check if the current element's complement exists in the hashmap

  • Return the pair if found, otherwise return null

Add your answer

Q122. Knapsack and coin change problem

Ans.

Knapsack and coin change problems are classic dynamic programming problems.

  • Knapsack problem involves maximizing the value of items in a knapsack without exceeding its capacity.

  • Coin change problem involves finding the minimum number of coins needed to make a certain amount of change.

  • Both problems can be solved using dynamic programming techniques.

  • Examples: 0/1 Knapsack, Fractional Knapsack, Coin Change with limited coins.

Add your answer

Q123. Intersection of 2 linked lists

Ans.

Intersection of 2 linked lists

  • Traverse both lists and compare each node to find the intersection

  • Use a hash set to store visited nodes and check for intersection

  • Calculate the length of both lists and adjust the starting point for comparison

Add your answer

Q124. Print Left view of tree

Ans.

Printing the left view of a tree involves printing the leftmost nodes at each level of the tree.

  • Traverse the tree level by level using BFS or DFS

  • At each level, print the first node encountered

  • Continue this process until all levels are covered

Add your answer

Q125. Coin change problem of DP

Ans.

The coin change problem in dynamic programming involves finding the minimum number of coins needed to make a certain amount of change.

  • Start by defining the problem - given a set of coin denominations and a target amount, find the minimum number of coins needed to make the target amount.

  • Use dynamic programming to build up solutions for smaller subproblems and eventually solve the main problem.

  • Consider the base case where the target amount is 0, the minimum number of coins need...read more

Add your answer

Q126. Explanation of Opps Concepts

Add your answer

Q127. Boundary of a tree

Ans.

The boundary of a tree refers to the outermost edges of the tree canopy or the perimeter of the tree's root system.

  • The boundary of a tree is defined by the outermost branches and leaves of the tree canopy.

  • The root system of a tree also contributes to its boundary, with roots extending outward from the trunk.

  • The boundary of a tree can be influenced by factors such as soil type, available nutrients, and competition from other plants.

  • Examples: Oak tree with a wide canopy, Pine t...read more

Add your answer

Q128. Company working process

Ans.

The company follows a systematic working process to ensure efficient operations.

  • The company has defined workflows and procedures for each department.

  • Tasks are assigned to employees based on their skills and expertise.

  • There is a clear hierarchy and reporting structure in place.

  • Regular communication and collaboration among team members.

  • The company may use software or tools to streamline data entry processes.

  • Quality checks and audits are conducted to ensure accuracy and complian...read more

Add your answer

Q129. Convert Roman to Integer

Ans.

Convert Roman numerals to integers using a mapping of values for each symbol.

  • Create a mapping of Roman numeral symbols to their corresponding integer values.

  • Iterate through the input Roman numeral string from right to left.

  • If the current symbol's value is less than the next symbol's value, subtract it from the total. Otherwise, add it to the total.

Add your answer

Q130. Order of execution

Ans.

The order of execution refers to the sequence in which instructions or operations are executed in a program.

  • The order of execution is determined by the programming language and the specific code being executed.

  • Generally, code is executed line by line from top to bottom.

  • However, there are exceptions such as loops, conditionals, and function calls that can alter the order of execution.

  • In some programming languages, there are also concepts like multithreading or asynchronous exe...read more

Add your answer

Q131. Relevancy of profile

Ans.

My profile is highly relevant to the Senior Manager role.

  • My previous experience in managing teams and projects aligns with the responsibilities of a Senior Manager.

  • I have a proven track record of achieving targets and driving growth in my previous roles.

  • My skills in strategic planning, budgeting, and problem-solving make me a strong candidate for the position.

  • I have also demonstrated strong leadership qualities and the ability to motivate and mentor team members.

  • Overall, my p...read more

Add your answer
1
2
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Performance.io

based on 32 interviews
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.1
 • 367 Interview Questions
4.2
 • 223 Interview Questions
4.1
 • 217 Interview Questions
4.0
 • 173 Interview Questions
3.9
 • 152 Interview Questions
View all
Top Snapdeal Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter