She will always need to give you 5 apples. You both need at least 5 apples to begin with, but apart from that it doesn’t matter exactly how many you each have. When she gives you 5 you will have 10 more than her because she will lose 5 and you will gain 5, resulting in a net difference of 10.
For example, if you each have 25 apples and she gives you 5 of hers, she will be left with 20 and you will now have 30, precisely 10 more than she has.
Wallace died a wealthy, if somewhat odd, man without any living relatives. He left his money in four different cities for the first four people who could find it. The only clue he left was this poem:
Do not go solo, Pairs up with a friend, Though I hasten to add, I’ll avenge my end.
Three closed boxes have either white marbles, black marbles or both, and they are labeled white, black and both. However, you’re told that each of the labels are wrong. You may reach into one of the boxes and pull out only one marble. Which box should you remove a marble from to determine the contents of all three boxes?
The one labeled both. Since you know it’s labeled incorrectly, it must have all black marbles or all white marbles. After you determine what it contains, you can identify the other two boxes by the process of elimination.