I was referred internally. First a phone interview with the CTO. And then an onsite with their two tech leads and the CTO. The CTO gave me a case study and asked me to brainstorm possible ideas. They asked me bring laptop so I can code out one idea I proposed. But that never happened as two tech leads kept asking questions like database design and sql query best practice. Had a little bit coding exercise with one of them.