employer cover photo
employer logo
employer logo

WatchGuard Technologies

Engaged Employer

WatchGuard Technologies Interview Question

Q1. Pattern printing which had some weird 0s and spaces Q2. First non recurring element in a string

Interview Answer

Anonymous

May 14, 2024

Q1. Ran two loops and three extra variables to take care of the count and lines Q2. Since using a map was out of options, I ran a loop for every element and once the pointer reaches at the end of string, it'd go over to the start and check till the element before the first pointer