Staff Engineer Interview Questions

5,866 staff engineer interview questions shared by candidates

technical algorithm problem, Given a list of UserLogs and another list of FunnelDefinitions, you must "merge then" by returning the users that fit with the FunneDefinition. var userLogs = [ "1,123456, click_home_page", "2,123457, click_home_page", "3,123458, click_home_page", "1,123467, add_item_to_cart", "2,123468, add_item_to_cart", "1,123478,finish_shop", "3,123479,finish_shop", ] var funnelDefinilitions = [ "Add Itens to Cart and buy it, click_home_page, add_item_to_cart,finish_shop" ] var expectedOutput = [ "Add Itens to Cart and buy it, "click_home_page (2) [1,2], add_item_to_chart ( 2)[1,2], finish_shop (1) [2]" ] So the output must have the sum by the action of the users that did that and had done the step before.
avatar

Staff Software Engineer

Interviewed at Faire

3.8
Jan 25, 2023

technical algorithm problem, Given a list of UserLogs and another list of FunnelDefinitions, you must "merge then" by returning the users that fit with the FunneDefinition. var userLogs = [ "1,123456, click_home_page", "2,123457, click_home_page", "3,123458, click_home_page", "1,123467, add_item_to_cart", "2,123468, add_item_to_cart", "1,123478,finish_shop", "3,123479,finish_shop", ] var funnelDefinilitions = [ "Add Itens to Cart and buy it, click_home_page, add_item_to_cart,finish_shop" ] var expectedOutput = [ "Add Itens to Cart and buy it, "click_home_page (2) [1,2], add_item_to_chart ( 2)[1,2], finish_shop (1) [2]" ] So the output must have the sum by the action of the users that did that and had done the step before.

Viewing 591 - 600 interview questions

Glassdoor has 5,866 interview questions and reports from Staff engineer interviews. Prepare for your interview. Get hired. Love your job.