Else we may have to remove previously placed billboard
else : NEW_LINE INDENT maxRev [ i ] = max ( maxRev [ i - t - 1 ] + revenue [ nxtbb ] , maxRev [ i - 1 ] ) ; NEW_LINE DEDENT nxtbb += 1 NEW_LINE else : NEW_LINE maxRev [ i ] = maxRev [ i - 1 ] NEW_LINE return maxRev [ m ] NEW_LINE