Add office photos
Engaged Employer

Porter

4.1
based on 752 Reviews
Filter interviews by

20+ Ashra Consultants Private Limited Interview Questions and Answers

Updated 22 Feb 2025

Q1. 1. Given an array find a subset that sums to a given sum K 2. Given an array with duplicate elements, print all triplets that sum to K. Each element at any index i can only be used once.

Ans.

Given an array, find a subset that sums to a given sum K and print all triplets that sum to K.

  • Use a recursive approach to find subsets that sum to K

  • Use a nested loop to find triplets that sum to K

  • Avoid using duplicate elements in triplets

Add your answer

Q2. Given sorted array count the number of occurrences of given element.

Ans.

Count occurrences of given element in a sorted array.

  • Use binary search to find the first and last occurrence of the element.

  • Subtract the indices to get the count of occurrences.

  • Handle edge cases like element not present in array.

Add your answer

Q3. Given Binary tree print the path having largest sum

Ans.

Given a binary tree, find the path with the largest sum of node values.

  • Use depth-first search to traverse the tree and keep track of the current path sum.

  • At each node, compare the current path sum with the maximum path sum seen so far.

  • Return the path with the maximum sum.

  • If the tree is empty, return an empty path.

Add your answer
Asked in
BDM Interview

Q4. what do you know about the logistics industry and how it is going to be in the future

Ans.

Logistics industry involves the management of the flow of goods and services. It is expected to grow with the rise of e-commerce.

  • Logistics industry involves transportation, warehousing, and distribution of goods and services

  • It plays a crucial role in supply chain management

  • The rise of e-commerce has led to an increase in demand for logistics services

  • Technological advancements such as automation and artificial intelligence are transforming the industry

  • Sustainability and enviro...read more

Add your answer
Discover Ashra Consultants Private Limited interview dos and don'ts from real experiences

Q5. Reverse linklist by group

Ans.

Reverse a linked list by group of given size

  • Divide the linked list into groups of given size

  • Reverse each group individually

  • Connect the reversed groups to form the final linked list

Add your answer

Q6. How to sync which item is shown to backend in recycler view using api call . How to optimise it

Ans.

Use a unique identifier for each item in the recycler view and send it to the backend via API calls. Optimize by batching API calls and implementing pagination.

  • Assign a unique identifier to each item in the recycler view, such as an ID or position

  • Send the unique identifier of the currently shown item to the backend through API calls

  • Optimize by batching API calls to reduce network overhead

  • Implement pagination to load data in chunks and improve performance

Add your answer
Are these interview questions helpful?

Q7. Diffrence between mvvm/ mvc

Ans.

MVVM focuses on separation of concerns between UI, business logic, and data layers, while MVC separates application into model, view, and controller.

  • MVVM stands for Model-View-ViewModel, where ViewModel acts as a mediator between View and Model.

  • MVVM is commonly used in WPF and Xamarin applications.

  • MVC stands for Model-View-Controller, where Controller handles user input, Model manages data, and View displays information.

  • MVC is commonly used in web development frameworks like ...read more

Add your answer

Q8. Write SQL queries

Ans.

SQL queries for Business Analyst role

  • SELECT * FROM table_name;

  • SELECT column_name FROM table_name WHERE condition;

  • SELECT COUNT(*) FROM table_name;

  • SELECT AVG(column_name) FROM table_name;

  • SELECT MAX(column_name) FROM table_name;

  • SELECT MIN(column_name) FROM table_name;

  • SELECT column_name1, column_name2 FROM table_name1 JOIN table_name2 ON table_name1.column_name = table_name2.column_name;

  • SELECT column_name1, COUNT(column_name2) FROM table_name GROUP BY column_name1;

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

Q9. Clarify the stake holder ship handled?

Ans.

Handled stakeholder relationships with clients, vendors, and internal teams to ensure successful project delivery.

  • Managed communication and expectations with clients throughout project lifecycle

  • Collaborated with vendors to ensure timely delivery of goods and services

  • Worked closely with internal teams to ensure project goals were met

  • Identified and addressed any potential conflicts or issues with stakeholders

  • Maintained positive relationships with stakeholders to ensure future b...read more

Add your answer

Q10. Write clean code for api call and DB update and ui update LLD

Ans.

Design a clean code structure for API call, DB update, and UI update.

  • Separate concerns by creating separate classes or modules for API call, DB update, and UI update.

  • Use interfaces or abstract classes to define contracts for each component.

  • Implement error handling and data validation at each step.

  • Consider using asynchronous programming to prevent blocking the UI thread.

  • Use dependency injection to manage dependencies between components.

Add your answer

Q11. what are the future goal

Ans.

My future goal is to continuously improve my skills and knowledge in customer support, and eventually move up to a leadership position.

  • Continuously learn and improve customer support skills

  • Seek out opportunities for leadership development

  • Set goals and create a plan for career advancement

  • Stay up-to-date with industry trends and best practices

Add your answer

Q12. What issues partner/customer face to cancel rides.

Add your answer

Q13. recyclerview practical impl with itemview

Ans.

RecyclerView is used to display large sets of data efficiently. ItemView is used to define the layout of each item in the list.

  • RecyclerView is a more advanced version of ListView and GridView

  • ItemView is a layout file that defines the UI for each item in the list

  • RecyclerView.Adapter is used to bind the data to the views

  • RecyclerView.LayoutManager is used to define the layout of the RecyclerView

  • RecyclerView.ViewHolder is used to hold the views for each item in the list

Add your answer

Q14. Please create timer using react

Ans.

Create a timer using React

  • Use useState hook to store the timer value

  • Use useEffect hook to update the timer every second

  • Display the timer value in the component's render method

Add your answer

Q15. Send a mail regarding product quotation

Ans.

I will send you the product quotation via email.

  • Address the recipient by name and company

  • Provide details of the products requested

  • Include pricing and any applicable discounts

  • End with a call to action for further discussion or confirmation

Add your answer

Q16. React: Create a Timer

Ans.

Create a simple timer using React

  • Use state to store the timer value

  • Use setInterval to update the timer every second

  • Display the timer value in the component's render method

Add your answer

Q17. How to improve customer base

Ans.

Improving customer base requires targeted marketing, exceptional customer service, and positive word-of-mouth.

  • Identify target audience and tailor marketing efforts accordingly

  • Provide exceptional customer service to retain existing customers and attract new ones

  • Encourage positive word-of-mouth through referral programs and social media engagement

  • Offer promotions and discounts to incentivize new customers to try your product/service

  • Analyze customer data to understand their need...read more

Add your answer

Q18. Hld for cab booking service

Ans.

High level design for a cab booking service

  • Use a centralized database to store cab availability and user information

  • Implement a matching algorithm to assign cabs to users based on location and availability

  • Include a payment gateway for users to pay for their rides

  • Develop a mobile app and web interface for users to book cabs

  • Integrate GPS tracking for real-time cab location updates

Add your answer

Q19. Max sum path in tree

Ans.

Find the maximum sum path in a tree from root to leaf node.

  • Start from the root node and traverse down to leaf nodes, keeping track of the sum at each node.

  • At each node, compare the sum of the current path with the maximum sum found so far.

  • Choose the path with the maximum sum as the final result.

Add your answer

Q20. Take a mock call with client

Add your answer

More about working at Porter

#12 Best Tech Startup - 2021
HQ - Bangalore,Karnataka, India
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Ashra Consultants Private Limited

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

Top Interview Questions from Similar Companies

3.7
 • 6.4k Interview Questions
3.4
 • 791 Interview Questions
3.5
 • 412 Interview Questions
3.9
 • 209 Interview Questions
3.9
 • 157 Interview Questions
View all
Top Porter 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
70 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