TikTok interview question

What command would you use to view memory usage by process in Linux?