In an office environment any co-worker can be a rubber duck for you. Of course, if all you can find are people who are knowledgeable about what you're working on, you may not need a rubber duck.
Please don't do this. If you can figure out the solution by explaining the problem to someone else, then you've just wasted the time of your co-workers.
At least take the time to sit down and write up a detailed explanation of the problem first. Do your due diligence before consuming the time of another developer.
At least take the time to sit down and write up a detailed explanation of the problem first. Do your due diligence before consuming the time of another developer.