Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • $\begingroup$ The question is unclear, and your examples of data don't improve that. Make a small self-contained example, with sample (small!) input and desired output, if you want a better chance to get good answers. $\endgroup$ Commented Jun 17, 2015 at 15:43
  • $\begingroup$ Hi Leonid, I edited my question $\endgroup$ Commented Jun 18, 2015 at 6:49
  • $\begingroup$ Kuba, you are right, I changed it $\endgroup$ Commented Jun 18, 2015 at 6:53