https://www.hackerrank.com/challenges/bigger-is-greater/problem?isFullScreen=true Bigger is Greater | HackerRank Rearrange the letters of a string to construct another string such that the new string is lexicographically greater than the original. www.hackerrank.com def biggerIsGreater(w): #w를 list로 만들기 w = list(w) #i번째가 i+1보다 작으면 반복을 멈추기 i = len(w) - 2 while i >= 0 and w[i] >= w[i+1]: i -= 1 #i..