Stripe Interview Question

Data Structure problem- create Database class; in constructor you will be given table; this table is no sql table; write method to support table operation like findRowMinByColumn(column) etc...