Leetcode 1108. Defanging an IP Address
Given a valid IPv4 address string, return its defanged version by replacing every period "." with "[.]". This is a straightforward string-manipulation problem (simple character replacement).
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Mid May, 2025
Meta
Manager
Hello Interview Premium
Your account is free and you can post anonymously if you choose.