Pergunta de entrevista da empresa Credit Karma

Given a string and an array of strings, return an array of strings which start with the given string. i.e. given 'ba', return 'bad', 'banana', etc.

Respostas da entrevista

Sigiloso

30 de mar. de 2017

Build a Trie tree and search with given string and return.

Sigiloso

31 de jan. de 2021

There's quite an extended back and forth in actual interviews for questions like this, so nothing quite like real practice. The Prepfully Credit Karma IOS Developer experts have actually worked in this role, so they're able to do an honest-to-God accurate mock, which really puts you through the paces. prepfully.com/practice-interviews