A community for students.

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 4 years ago

Hey everyone I am working on PS #4 problem 4 and I am having some trouble (I am stuck on how to start this one). I've attached the shell code that explains what the function is intended to do. Any help/advice would be greatly appreciated. http://pastebin.com/BXSGcK87

  • This Question is Closed
  1. rsmith6559
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    find_best_shifts is a wrapper function for find_best_shifts_rec which does the actual work. Look around, there's been a bunch of questions on recursion lately.

  2. harsimran_hs4
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    this is perhaps the heart of the problem set...it takes quite a bit of time tough to do this portion of problem it took me around 2 days to figure out the correct code (after so many failures tough) since i had done this problem set...i recommend that you should try out pseudo code first and then try to implement it ...take about a day to do so if you still face problems then do ask

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...


  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.