Flipkart
10+ Alpha Alternatives Interview Questions and Answers
Q1. Given an array, how do you get the count of pairs that sum to even
Count the number of pairs in an array that sum to an even number.
Iterate through the array and check each pair of elements.
If the sum of the pair is divisible by 2, increment the count.
Return the count of pairs that sum to an even number.
Q2. Flipkart charges a shipping charge if the order amount is less than Rs. 500. How do you avoid it if you have an item which is less than 500 yet you do not want to pay for shipping?
Add more items to the cart to reach the minimum order amount of Rs. 500 and avoid shipping charges.
Check for other items that you may need and add them to the cart
Look for items that are on sale or have discounts to reach the minimum order amount
Consider buying in bulk to save on shipping charges
Check if there are any promo codes or coupons available to waive off shipping charges
Q3. How do you make 720 with 6 zeroes using mathematical operators?
To make 720 with 6 zeroes, multiply 6! by 1000.
Calculate the factorial of 6 (6! = 6 x 5 x 4 x 3 x 2 x 1 = 720)
Multiply the result by 1000 (720 x 1000 = 720000)
Alternatively, add three zeroes to the end of 720 (720000 = 720000)
Q4. Given an array, how do you get the count of pairs that sum to odd
Count the number of pairs in an array that sum to an odd number.
Iterate through the array and check each pair of elements.
Use a nested loop to compare each element with every other element.
Keep a count of pairs that sum to an odd number.
Q5. Demand of TVs next year? Specify one 'good' and one 'bad' approach
The demand for TVs next year is uncertain. A good approach would be to conduct market research and analyze trends, while a bad approach would be to rely solely on intuition.
Good approach: Conduct market research to understand consumer preferences and trends
Good approach: Analyze past sales data and industry forecasts to predict demand
Bad approach: Rely solely on intuition or gut feeling without any data or research
Bad approach: Overestimate demand without considering market f...read more
Q6. I want to sell TV sets in my market. How do I go about it?
To sell TV sets in the market, research the target audience, identify competitors, set competitive prices, and create effective marketing strategies.
Conduct market research to identify the target audience and their preferences
Identify competitors and their pricing strategies
Set competitive prices for the TV sets
Create effective marketing strategies such as advertising, promotions, and social media campaigns
Establish partnerships with local electronics stores to increase visib...read more
Q7. Guess the number of vehicles on the Chennai roads between 5 to 6
It is impossible to accurately guess the number of vehicles on Chennai roads between 5 to 6 without any data.
The number of vehicles on the road can vary depending on the day, time, and weather conditions.
Factors such as rush hour traffic, accidents, and road closures can also affect the number of vehicles on the road.
Without any data or context, it is impossible to make an accurate guess.
However, we can estimate based on previous data or conduct a survey to gather more inform...read more
Q8. Market size of electronics sold through all e-commerce websites together?
The market size of electronics sold through all e-commerce websites is difficult to estimate accurately.
The market size of electronics sold through e-commerce websites is constantly changing due to the dynamic nature of the industry.
Factors such as the popularity of certain products, the emergence of new technologies, and changes in consumer behavior can all impact the market size.
However, some estimates suggest that the global e-commerce electronics market could be worth ove...read more
Q9. 1. Things to be kept in mind while making a deal with a book vendor
When making a deal with a book vendor, keep in mind factors such as pricing, quality, delivery time, and return policies.
Consider the pricing of the books and negotiate if necessary
Ensure the quality of the books meets your standards
Discuss delivery time and ensure it aligns with your needs
Check the vendor's return policies in case of any issues
Consider the reputation of the vendor in the market
Q10. Queue implementation using stacks
Queue implementation using stacks
Use two stacks to implement a queue
One stack for enqueue operation and another for dequeue operation
When enqueue is called, push the element onto the enqueue stack
When dequeue is called, if the dequeue stack is empty, transfer all elements from enqueue stack to dequeue stack
Pop the top element from the dequeue stack to perform dequeue operation
Q11. minValue in stack
The minimum value in a stack needs to be found.
Traverse the stack and compare each element to find the minimum value.
Use an auxiliary stack to keep track of the minimum value at each step.
If the stack is empty, return an error message.
More about working at Flipkart
Top HR Questions asked in Alpha Alternatives
Top Graduate Trainee Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month