Q1. Pattern printing which had some weird 0s and spaces Q2. First non recurring element in a string
Anonymous
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
Check out your Company Bowl for anonymous work chats.