LeetCode
Largest Perimeter Triangle
Click
here
for an explanation.