String to Byte Array Serialization and Deserialization
Serialize a list of strings into a byte array. Then deserialize it.
Problem Statement
Serialize a list of strings into a byte array. Then deserialize it.
Evaluation
- Serialize Strings to a byte array (25%)
- Be memory efficient (25%)
- Serialize in such a way that enough data exists to deserialize unambiguously (25%)
- Deserialize and test (25%)
References
Maarten from Google
Recommended reading
-
Is the given String a repeated sub-pattern?
Given a string, return whether it is made of a perfectly repeated string pattern.
-
Map Reduce Data Mining and Ranking
Given a Google Search Query, find the AdWords Categories best describing it
-
Reverse the order of the words in a String in-place.
Reverse the order of the words in a String in-place.
-
Language Vocabulary Sampling
You are given a stream of conversation in a mysterious language from planet Mars. Approximate the set of word vocabulary in this language.
- Author
- Amin Ariana
- Published
- April 2011