Company: Stripe_14feb(repeated)
Difficulty: medium
Card Range Obfuscation body { font-family: sans-serif; line-height: 1.6; margin: 20px; background-color: #f4f4f4; color: #333; } h1 { color: #2c3e50; border-bottom: 2px solid #eee; padding-bottom: 10px; } h2 { color: #34495e; margin-top: 30px; border-bottom: 1px solid #eee; padding-bottom: 5px; } h3 { color: #555; margin-top: 20px; } pre { background-color: #ecf0f1; padding: 15px; border-radius: 5px; overflow-x: auto; font-size: 0.9em; } code { font-family: monospace; } p { margin-bottom: 10px; } ul { list-style-type: disc; margin-left: 20px; } li { margin-bottom: 5px; } .note { background-color: #fff3cd; border-left: 5px solid #ffeeba; padding: 10px; margin-top: 15px; } Card Range Obfuscation Problem Description Card payment card numbers are composed of eight to nineteen digits, the leading six of which are referred to as the bank identification number (BIN). Stripe's card metadata API exposes information about different card brands within each BIN range, by returning a mapping of car