String Ops Lab

StringOps FRQ 2 gradShow LightSequence


String Sequence

11000111

Swap Segment
Last action
Update string sequence from '1100000111' to: '11000111'
History of events
Test (a): construct gradShow object
Construct 'StringOps FRQ 2 gradShow LightSequence' new object
Test (b): set light sequence
Set string sequence '0101 0101 0101'
Test (c): update light sequence
Update string sequence from '0101 0101 0101' to: '0011 0011 0011'
Test (d): insert segment into light sequence at position
Insert into '0011 0011 0011' new segment: '1111 1111' at index 4
Update string sequence from '0011 0011 0011' to: '00111111 1111 0011 0011'
Test (f): remove segment from front, end, and middle of light sequence
Update string sequence from '00111111 1111 0011 0011' to: '1100000111'
Swap '1100000111' old segment '11' with new segment ''
Update string sequence from '1100000111' to: '00000111'
Update string sequence from '00000111' to: '0000011'
Swap '0000011' old segment '11' with new segment ''
Update string sequence from '0000011' to: '00000'
Update string sequence from '00000' to: '1100000111'
Swap '1100000111' old segment '00' with new segment ''
Update string sequence from '1100000111' to: '11000111'

Contact Us

nighthawkcodingsociety@gmail