fabric Interview Question

Easy/medium leetcode, low-level OOP design