Johann Sebastian Bach decided to write a new cantata. To do this, he took a blank sheet and began to create. After some time, he realized that he needed to add an organ on the sixth sheet. In total, there were twenty pages in his work. How many pages did he go through before he found the right one? You can consider his work a singly linked list.
Singly linked list
Bach's struggle
Report a typo
Enter a number
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.