Citadel interview question

Convert a string to an int without using Java library.

Interview Answer

Anonymous

Jul 1, 2026

Went through each character and could not figure out how to convert the char in the string. '5' - '0' = integer 5 in java