Join Regular Classroom : Visit ClassroomTech

algo

Miscellaneous Problem | String of Brackets | Codewindow.in

Previous Question miacellCODU loves to play with string of brackets. He considers string as a good string if it is balanced with stars. A string is considered as balanced with stars if string contains balanced brackets and between every pair of bracket i.e. between opening and closing brackets, there are at least 2 stars(*) present. […]

Miscellaneous Problem | String of Brackets | Codewindow.in Read More »

Matrix Based Questions | Abhimanyu & Chakravyuha | Codewindow.in

Previous Question During the battle of Mahabharat, when Arjuna was far away in the battlefield, Guru Drona made a Chakravyuha formation of the Kaurava army to capture Yudhisthir Maharaj. Abhimanyu, young son of Arjuna was the only one amongst the remaining Pandava army who knew how to crack the Chakravyuha. He took it upon himself

Matrix Based Questions | Abhimanyu & Chakravyuha | Codewindow.in Read More »

Strings Based Coding Problems | Romeo and Juliet | Codewindow.in

Previous Question Romeo and Juliet stay in Rectanglevilla. As the name suggests, Rectanglevilla is indeed a rectangle in shape. Romeo’s current location is marked by ‘s’. Juliet’s current location is marked by ‘d’. In a difficult hour, Romeo has to ensure that he reaches Juliet via the shortest path and hence in shortest time. There

Strings Based Coding Problems | Romeo and Juliet | Codewindow.in Read More »

Strings Based Coding Problems | Firstcharstring | Codewindow.in

Previous Question Rotate a given String in the specified direction by specified magnitude. After each rotation make a note of the first character of the rotated String, After all rotation are performed the accumulated first character as noted previously will form another string, say FIRSTCHARSTRING. Check If FIRSTCHARSTRING is an Anagram of any substring of

Strings Based Coding Problems | Firstcharstring | Codewindow.in Read More »