O(n^2) solution in Ruby! Beats 100% of Ruby submissions


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.