Questions tagged [lock-pairs]
The lock-pairs tag has no usage guidance.
4
questions
0
votes
0
answers
52
views
lock_pairs did not correctly lock all non-cyclical pairs
this is my code within the lock_pairs function for the tideman problem in pset3. I've looked through it numerous times and I can't find anything wrong with it.
However, when I run it through check50, ...
0
votes
0
answers
166
views
Tideman error: :( lock_pairs skips final pair if it creates cycle
It would be amazing if someone had the time to look through my code for the Tideman exercise :D I get the following error:
:( lock_pairs skips final pair if it creates cycle
lock_pairs did not ...
1
vote
1
answer
810
views
PSET3 Tideman: Lock_Pairs Help
I've been stuck on this function of the PSET for a couple of days now. I have met every requirement in check50 except for the one that says, ":( lock_pairs skips final pair if it creates a cycle; ...
0
votes
1
answer
450
views
Pset 3 Tideman lock pairs function
Help, i'm losing my mind. I'm not sure where i'm going wrong in this function, it gives me an error on every line of check50 after sort pairs. Can anybody shed any light? Thank you in advance! J
// ...