Topic: Bit Manipulation Problem / Level: beginner

Problem: Create a function to find the longest sequence of 1s in a binary string that ends at a given position.

Run the code to see the output here...