Citadel interview question

Convert a string to an int without using Java library.

Interview Answer

Anonymous

1 July 2026

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