HackerRank - 'Grep' - B

April - 25/2025

Problem:

N credit card numbers. Assume that the credit card numbers will have 4 space separated segments with 4 digits each.

# Input

# Output

# Solution

            
    grep '\(\d\)\s*\1'
    

Post: