You are Here: Home >< Maths

# Maths as level algorithms help watch

1. Hi, i have received an algorithms homework on the bubble sort/ shuttle sort, and i was a bit confused about question 2B.
2. What's is the question ???

Posted from TSR Mobile

3. Here is the question

Posted from TSR Mobile
4. It just wants you to work out the number of times you need to move the "bubble" along the line I order to get n numbers in order

Posted from TSR Mobile
It just wants you to work out the number of times you need to move the "bubble" along the line I order to get n numbers in order

Posted from TSR Mobile
For my chosen numbers??

Posted from TSR Mobile
6. (Original post by holly mcnally)
For my chosen numbers??

Posted from TSR Mobile
no in general. so they want a rule like if you have n numbers the maximum number of iterations of the bubble sort is n+M
no in general. so they want a rule like if you have n numbers the maximum number of iterations of the bubble sort is n+M
Thank you

Posted from TSR Mobile

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: March 22, 2016
Today on TSR

### Uni league tables

Do they actually matter?

### University open days

• University of Warwick
Sat, 20 Oct '18
• University of Sheffield
Sat, 20 Oct '18
• Edge Hill University
Faculty of Health and Social Care Undergraduate
Sat, 20 Oct '18
Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams