Strings

Ace your homework & exams now with Quizwiz!

Roman to Integer: In what direction is the for loop?

Backwards Because of the subtractive notation used in Roman numerals

ZigZag Conversion: When is charsInBetween calculated?

When it is not the first row && when it is not the last row

ZigZag Conversion: What is the formula for charsInSection & charsInBetween?

charsInSection: 2 * (numRows - 1) charsInBetween: charsInSection - (2 * i)


Related study sets

Macroeconomics Midterm 1 - Unemployment

View Set

GRADE 10 - Biology / Digestive System

View Set

UH Manoa - PH 203 (T. Lee) - Certification Test : How To Recognize Plagiarism

View Set

15. Commercial General Liability Insurance

View Set

Sociologia applicata- corso di sociologia

View Set

Chapter 9: Violence and Serious Misbehavior

View Set