
https://www.hackerrank.com/challenges/hackerland-radio-transmitters/problem?isFullScreen=false Hackerland Radio Transmitters | HackerRankFind the minimum number of radio transmitters needed to cover all the houses in Hackerland!www.hackerrank.com Greedy 알고리즘 문제. 아래 로직을 반복하면 되는 구조.idx 위치에 transmitter를 설치했을 때, 오른쪽으로 얼마나 도달하는지 확인한다.도달할 수 있는 최대지점에 transmitter를 설치하면, 그 위치에서는 오른쪽으로 얼마나 도달하는지 확인한다.