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

Medical Expense Insurance Test Questions

View Set

antineoplastic drugs and targeted therapies

View Set

Chapter 2 Section 3 - Falling Objects

View Set

The Science of Nutrition Chapter 4 Questions

View Set

Unit 3 Lesson 2 Unemployment (Waldonomics)

View Set

Prep U Questions Chapter 7: Legal Dimensions of Nursing Process

View Set