Tech Lead Interview Questions

3,069 tech lead interview questions shared by candidates

1) Given a set of url routes and an api name mapped to each route.... define a method which would return the api name from a given url route. Now modify the solution such that the search term can also accept any number of wildquery(*) and return all the api names that can match the search term. Now modify such that wildcard means a specific term only for eg. if specific term is "glassdoor" then search/*/api should mean search/glassdoor/api. 2) asked to write an sql using join, and order by. Now what to do if we need all these functionalities to work in different scenarios - strategy pattern
avatar

Tech Lead

Interviewed at Spinny

3.5
Sep 19, 2022

1) Given a set of url routes and an api name mapped to each route.... define a method which would return the api name from a given url route. Now modify the solution such that the search term can also accept any number of wildquery(*) and return all the api names that can match the search term. Now modify such that wildcard means a specific term only for eg. if specific term is "glassdoor" then search/*/api should mean search/glassdoor/api. 2) asked to write an sql using join, and order by. Now what to do if we need all these functionalities to work in different scenarios - strategy pattern

Viewing 2111 - 2120 interview questions

Glassdoor has 3,069 interview questions and reports from Tech lead interviews. Prepare for your interview. Get hired. Love your job.