4 ms·
Do you find yourself programming a solution in the second language in the style of the first? Or are they both similar enough to you that it is effectively the
by daemin 5mo ago
Do you find yourself programming a solution in the second language in the style of the first? Or are they both similar enough to you that it is effectively the same style of solution?
- senkora 5mo agoI typically do the same algorithm for each solution, but I do try to write it in an idiomatic way to each language. I usually look at the editorial after the first solve to see if I missed any tricks or other approaches, and sometimes I’ll write the second solution differently if there was something interesting that I missed.