## Design a Coffee Machine

Design a coffee machine which makes different beverages based on set ingredients. The quantity of ingredients used for each beverage can vary

Design a coffee machine which makes different beverages based on set ingredients. The quantity of ingredients used for each beverage can vary

These types of questions are asked in interviews to Judge the Object-Oriented Design skill of a candidate. So, first of all, we should think about the classes.

Create your queue that will hold messages in form of JSON. Standard library queues were not allowed.There was one publisher that can generate messages and multiple subscribers that will listen to messages satisfying a particular regex

We will cover the architectural subjects that show up while scaling and doing performance tuning of large scale web applications in this blog.

Implement a MyCalendar class to store your events. A new event can be added if adding the event will not cause a double booking.

Given an N-ary Tree, Serialize and Deserialize it. Serialization is a basically a representation of a tree in a String format which takes much lesser space than storing the tree itself. Deserialization is constructing the actual tree using the serialized format of the tree.

In an alien language, surprisingly they also use english lowercase letters, but possibly in a different order. The order of the alphabet is some permutation of lowercase letters.

Write a merge function that takes two lists, each of which is sorted in increasing order, and merges the two together into one list which is in increasing order.

Given a positive integer n, generate an n x n matrix filled with elements from 1 to n2 in spiral order.

Given an m x n matrix, return all elements of the matrix in spiral order. The Spiral Matrix problem takes a 2-Dimensional array of N-rows and M-columns as an input, and prints the elements of this matrix in spiral order.