(See Joseph Smith--History 1:8-13.)
Did you know there's an entry in the Topical Guide on "Problem-Solving"?!? Here are some of the passages from that topic that are particularly meaningful to me:
James 1:5-7
5 If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him.
6 But let him ask in faith, nothing wavering. For he that wavereth is like a wave of the sea driven with the wind and tossed.
Mark 9:29
29 And he said unto them, This kind can come forth by nothing, but by prayer and fasting.
Luke 14:28
28 For which of you, intending to build a tower, sitteth not down first, and counteth the cost, whether he have sufficient to finish it?
1 Nephi 15:8
8 And I said unto them: Have ye inquired of the Lord?
2 Nephi 32:3
3 Angels speak by the power of the Holy Ghost; wherefore, they speak the words of Christ. Wherefore, I said unto you, feast upon the words of Christ; for behold, the words of Christ will tell you all things what ye should do.
Jacob 4:10
10 Wherefore, brethren, seek not to counsel the Lord, but to take counsel from his hand. For behold, ye yourselves know that he counseleth in wisdom, and in justice, and in great mercy, over all his works.
Alma 17:3
3 But this is not all; they had given themselves to much prayer, and fasting; therefore they had the spirit of prophecy, and the spirit of revelation, and when they taught, they taught with power and authority of God.
Alma 37:37
37 Counsel with the Lord in all thy doings, and he will direct thee for good; yea, when thou liest down at night lie down unto the Lord, that he may watch over you in your sleep; and when thou risest in the morning let thy heart be full of thanks unto God; and if ye do these things, ye shall be lifted up at the last day.
Doctrine and Covenants 9:8
8 But, behold, I say unto you, that you must study it out in your mind; then you must ask me if it be right, and if it is right I will cause that your bosom shall burn within you; therefore, you shall feel that it is right.
Doctrine and Covenants 88:124
124 Cease to be idle; cease to be unclean; cease to find fault one with another; cease to sleep longer than is needful; retire to thy bed early, that ye may not be weary; arise early, that your bodies and your minds may be invigorated.
Enos 1:2-6
2 And I will tell you of the wrestle which I had before God, before I received a remission of my sins.
3 Behold, I went to hunt beasts in the forests; and the words which I had often heard my father speak concerning eternal life, and the joy of the saints, sunk deep into my heart.
4 And my soul hungered; and I kneeled down before my Maker, and I cried unto him in mighty prayer and supplication for mine own soul; and all the day long did I cry unto him; yea, and when the night came I did still raise my voice high that it reached the heavens.
5 And there came a voice unto me, saying: Enos, thy sins are forgiven thee, and thou shalt be blessed.
6 And I, Enos, knew that God could not lie; wherefore, my guilt was swept away.
Moroni 10:5
5 And by the power of the Holy Ghost ye may know the truth of all things.