GE Interview Question

1.write a code to count all the 1's in a bit string 2.examples of ways to store an array