3 ms·
I'm not a fan of leetcode, but when I did some competitive programming it was quite common that you first had to transform the input data into the proper data s
by lawn 3y ago
I'm not a fan of leetcode, but when I did some competitive programming it was quite common that you first had to transform the input data into the proper data structure, and then you can apply some algorithm to produce the answer.