Tag:sightseeing

  • Leetcode 1014. Best sightseeing combination | Python

    Time:2021-3-14

    1014. Best sightseeing combination Title Source: leetcode https://leetcode-cn.com/problems/best-sightseeing-pair subject Given a positive integer array a, a [i] represents the score of the ith scenic spot, and the distance between two scenic spots I and j is J – I. The score of a tourism combination composed of a pair of scenic spots (I < J) […]