LeetCode 624 - Maximum Distance in Arrays - Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 1

  • @juanmacias5922
    @juanmacias5922 2 หลายเดือนก่อน

    Great job figuring out you only needed to keep the prev min/max, everyone else seemed to be using some version of a 2 element heap, and/or checking they weren't from the same arrays.