I'm a beginner to programming (learning python right now). Ran across this question, and am completely lost as to how to get the algorithm and how to write it in pseudocode.
I'm sorry for asking. I'd really like some help though and would appreciate any help at all.