Tutorial: How to prepare for machine coding round?

Given the recent popularity of machine coding round, most of the top tech companies in India (Flipkart, Uber, Swiggy, Ola, Cred, etc.) have started adopting it into their interview process.

Since it is a relatively new interview format, very few candidates prepare for it and hence face elimination in this round.

I’ve written a couple of articles on how to prepare and practice for the machine coding round. Please let me know if you’ve any feedback.

How to prepare for machine coding round?

How to practice for machine coding round?


whats new in this ? oops and reable code thats it?

Do you mean OOP and readable code is the only difference compared to competitive programming?

That’s true in a way but the actual experience is completely different from a problem solving/data structures round.

I’d suggest you to try this problem to find out: https://workattech.github.io/mock-machine-coding-1/

If you’re up for it, please make sure that you write the solution with proper design and that the code is readable.

no bro im not comparing im asking is machine round means they consider testing knowledge on oops and analysing reability of the code…

Yes. Apart from problem solving, these are the general expectations of a good solution:

  • Code should be working and demonstrable.
  • Code should be functionally correct.
  • Code should be modular and readable.
  • Separation of concern should be addressed.
  • Code should easily accommodate new requirements and minimal changes.
  • There should be a main method from where the code could be easily testable.
  • A UI is generally not required.

You can read more about it at What is a machine coding round?

i read it already . btw i had frontend experience i know how important is reability of the code. what does this line mean?

This is regarding machine coding round for a backend role so a ui is not required in that case

This post was flagged by the community and is temporarily hidden.

Many people often call this as Low Level Design round in which the interviewers are generally interested in knowing how good are you at structuring the software. This generally involves class structures, their use-cases and their dependencies which is highly used in OOP design.

Machine coding round is similar to low-level design round. The only difference being that in machine coding round, you actually need to write code. In a design round, you only need to design and tell what classes you’ll create and how they’ll interact usually on a whiteboard or on paper.


Written something about the PS/DS (problem solving, data structures and algorithms) coding round as well. Do check it out.