Saturday, August 11, 2012
You have to count how many binary strings are possible of length "K". Constraint: Every 0 has a 1 in its immediate left. 111011 <-- valid 0111 <--- invalid 111100 <-- invalid
Labels:Data
Amazon Interview
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment