Bug Report for https://neetcode.io/problems/trapping-rain-water
In the NeetCode console, executing a print() statement containing a line of hyphens (e.g., print("-------------------------------------------------")) on the line directly following another print() statement causes the preceding text to render as an enlarged, bolded heading rather than standard console output. For example, placing a line of hyphens directly beneath print(f"total_after= {total} i= {i}") visually distorts the total_after line into a large gray header, whereas removing the hyphens below restores normal text formatting.
Bug Report for https://neetcode.io/problems/trapping-rain-water
In the NeetCode console, executing a
print()statement containing a line of hyphens (e.g.,print("-------------------------------------------------")) on the line directly following anotherprint()statement causes the preceding text to render as an enlarged, bolded heading rather than standard console output. For example, placing a line of hyphens directly beneathprint(f"total_after= {total} i= {i}")visually distorts thetotal_afterline into a large gray header, whereas removing the hyphens below restores normal text formatting.