leetle

Daily challenge for 2025-07-27

208. Hexadecimal to Decimal Conversion

Write a function solve that converts a hexadecimal string to its decimal equivalent. The hexadecimal string may contain digits 0-9 and letters A-F (case insensitive).

Example:
Input: "FF"
Output: 255

Run this challenge interactively in Python or JavaScript when the app loads.