Revolut interview question

internal db data structures