FloQast Interview Question

Something like given an array of objects containing user ids to actions, write a function that parses the array and returns users who have completed actions in a given sequence. Super simple, almost insulting.

Interview Answer

Anonymous

Nov 3, 2024

Use a hashmap to store user ids to actions. Iterate over hashmap and find userids where the string of characters includes the given sequence.