Given a string "XOXXO" convert it into a binary vector. [1 0 1 1 0]
Paul Berglund implemented an optimal method in Snow Cones
Output: [1 1 0 0 1]
Getting the indices from a vector
Create an index-powered vector
Hack not this Test Suite you will
GJam 2014 China Rd A: Rational Number Tree (Large Values)
Molecule Atomic Wt (CHONS) Molecules
Unique - Very Very Large Numbers
Criss_Cross_000 : Unique elements in a Square array
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office