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

danica cobian AP Stat Unit 3 Progress Check: MCQ Part B

View Set

Chapter 13 Marketing Helping Buyers Buy

View Set

Chapter 7: The Nurse-Client Relationship

View Set

Unit 7 Florida Essentials of Real Estate Investment v6.0

View Set