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]
Factorize THIS, buddy
Is this matrix orthogonal?
We love vectorized solutions. Problem 1 : remove the row average.
Convert a vector into numbers
GJam 2014 Qualifier: Deceitful War (Small)
Minimum Sum thru a Lower Triangle
GJam 2013 China Event: Happy Teams
Knot Count - Speed
Mastermind I: Solve all 1296 cases
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