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

accounting chapter 10 - Reporting and analyzing LIABILITIES

View Set

Major Quiz #1, PBHL 2663 Major Quiz #2 (Modules 6-8), PBHL 2663 Major Quiz #3 (Modules 9-12), Major Quiz #4 (Modules 13-15)

View Set

Exam: 01.02 What is Economics Quiz

View Set

Algebra Review Constructed Response Qs

View Set