Help somebody to solve any problem for improving your abilities.
helping others solve problems can also improve our own abilities
To help people solve the problem will also enhance their ability