• Home
  • Subscribe
  • Contribute Us
    • Share Your Interview Experience
  • Contact Us
  • About
    • About CSEstack
    • Campus Ambassador
  • Forum & Discus
  • Tools for Geek
  • LeaderBoard
CSEstack

What do you want to Learn Today?

  • Programming
    • Tutorial- C/C++
    • Tutorial- Django
    • Tutorial- Git
    • Tutorial- HTML & CSS
    • Tutorial- Java
    • Tutorial- MySQL
    • Tutorial- Python
    • Competitive Coding Challenges
  • CSE Subject
    • (CD) Compiler Design
    • (CN) Computer Network
    • (COA) Computer Organization & Architecture
    • (DBMS) Database Management System
    • (DS) Data Structure
    • (OS) Operating System
    • (ToA) Theory of Automata
    • (WT) Web Technology
  • Interview Questions
    • Interview Questions- Company Wise
    • Interview Questions- Coding Round
    • Interview Questions- Python
    • Interview Questions- REST API
    • Interview Questions- Web Scraping
    • Interview Questions- HR Round
    • Aptitude Preparation Guide
  • GATE 2022
  • Linux
  • Trend
    • Full Stack Development
    • Artificial Intelligence (AI)
    • BigData
    • Cloud Computing
    • Machine Learning (ML)
  • Write for Us
    • Submit Article
    • Submit Source Code or Program
    • Share Your Interview Experience
  • Tools
    • IDE
    • CV Builder
    • Other Tools …
  • Jobs

Treebo Hotels Design Coding Interview Question for PSE

Want to Share your Interview Experience?/1656/0
Placement Interview

I got a call from the consultancy as they find my profile interested and machining to their client’s job requirement. Here the client is Treebo hotel.

After having a discussion on the call, she scheduled the interview with the Treebo hotel interviewer.

This career opportunity was for the Principle Software Engineer (PSE) position and for the experienced candidate.

The first round was a design coding interview. This interview was scheduled for 2 hours on Google hangout.

Treebo Hotels Design Coding Interview

After a formal introduction, he shared the Google Docs page. It was accessible to both of us. When anyone one of us writes, it was visible to both of us.

Here is the design coding question he asked. We have to design the ATM machine. The design should satisfy the below requirements. I am sharing my experience to tackle this design interview.

Q. ATM machine (Single ATM machine)

Requirements:

  1. Takes and reads a card
  2. Authenticates and authorizes the card using a pin (use card number/chip read data to validate the card)
  3. Supports multiple banks – HDFC, ICICI, Kotak
  4. Supports multiple types of cards – visa, master, maestro
  5. Different banks can have different flows –
  6. Supports currencies of denominations of 100, 500, 2000 – code
  7. Takes input of the amount
  8. Dispense the amount
  9. Deducts the amount from the user’s account – remote server – call API

He gave me an hour to solve this one.

One of the other candidates were asked to design a multilevel parking system.

Note: You don’t need to write the exact code for it. Define the skeleton of the classes and data structure you are using. And then write the pseudo-code to satisfy each requirement.

After one hour, we discuss it. He asked me some questions about the design I have implemented.

For the 9th requirement, I told him about the REST API. He asked me some questions on REST API.

If you have any doubt or want to know any detail about the Treebo Hotels Design Coding Interview, let me know in the comment.

All the best!


Editors’ Note: This Treebo coding interview experience is shared by the anonymous candidate. We wish him/her all the best for his/her future.

Python Interview Questions eBook

coding designinterviewTreebo Hotels
Want to Share your Interview Experience?
This interview questions and experience are shared by one of the readers like you. You can share your interview experience as well. If you want to help new job aspirants to get their dream job, kindly share your experience on CSEstack Portal, by filling this simple form. It will be published on our portal. Thank You!

Your name can also be listed here. Got a tip? Submit it here to become an CSEstack author.

Leave a Reply Cancel reply

100+ Company’s Interview Questions



You can share your interview experience.

Job Preparation Stack

03 Types of IT Engineers in Demand

05 Programming Skills for Jobs

05 Programming for High Paying Jobs

11 Software Developer Skills for Jobs

07 Tips for Standard CV Format

05 Guidelines for Writing Best SoP

13 Aptitude Preparation Tips

07 Steps for Effective Job Search

07 HR Interview Questions

57 Coding Interview Questions

57 Python Interview Questions

Summer Internships 2022

Why Internship?

Apply Internships in IIT, NIT, IIIT

Programming Tutorials

C/C++ Programming

Python Programming

Java Programming

© 2022 – CSEstack.org. All Rights Reserved.

  • Home
  • Subscribe
  • Contribute Us
    • Share Your Interview Experience
  • Contact Us
  • About
    • About CSEstack
    • Campus Ambassador
  • Forum & Discus
  • Tools for Geek
  • LeaderBoard