Company: Flipkart_24dec
Difficulty: medium
Nacho Production Line Nacho Production Line Description Isabella has just started a new job as a production executive in a food factory. The company has assigned her to the Nachos production line. Nachos, originally from Mexico, are triangular shaped fried tortilla chips eaten along with melted cheese and a variety of other toppings. On the Nachos production line, first the tortilla is cut into triangles in the slicing machine (by large knives called slicers), and then pushed on a conveyor into the next machine which fries them. Nervous on her first day, Isabella pressed the wrong buttons, causing the conveyor to reverse direction mid-way, and now the fried nachos have fallen back into the slicing machine! Each nacho can be represented as a triangle in the Cartesian coordinate system, with vertices on integer coordinate points. Nachos can touch or overlap each other, and can be of different sizes. The slicers make cuts that correspond to a horizontal (y = c) or vertical (x = c) line in