Skip to content
Advertisement

Tag: algorithm

Finding Subarrays of Vowels from a given String

You are given a string S, and you have to find all the amazing substrings of S. Amazing Substring is one that starts with a vowel (a, e, i, o, u, A, E, I, O, U). Input The only argument given is string S. Output Return a single integer X mod 10003, here X is number of Amazing Substrings in

Google foobar gearing_up_for_destruction

I was doing the google foobar challenge but ran out of time on the following challenge i am trying to see what i did wrong. Challenge As Commander Lambda’s personal assistant, you’ve been assigned the task of configuring the LAMBCHOP doomsday device’s axial orientation gears. It should be pretty simple – just add gears to create the appropriate rotation ratio.

Advertisement