A.: The best thing to do to stop this kind of bahaviour is to avoid letting it get started; don't let her reaching her limit. By this I mean, that try cutting it off by totally shifting her attention to a different thing, or giving her a hand at understanding frustration before she reaches her limit and decides to take it against you. Let me explain it: if after 15 minutes trying to put a puzzle together she gets upset or starts throwing things, or because it is too close to nap time she doesn't tolerate something or just you trying to calm her or moving het away from it, then give that or which ever activity she is, a well managed pause by teaching her to stop, think and resume. "Fantastic, you put three pieces together, lets move it to the side and find other three even if they do not touch the previous ones", or "help me go get the other half of the puzzle which I left in the other room" ... or praise her, with a "wonderful job!!, you must be thrilled, but geniuoses need to rest and re-charge. get her on a conversation about whats going to be for dinner, get her to dfecide on a menu that she would like to help with, or something like "artists look at their pieces from a distance, have you tried that?" and then without pulling her you move some steps back. That will teach her to pause, to avoid getting to the extreme tiredness. "Wonderful, go tel daddy that he can see you working on that while you finish it, and he will be amazed". Distract her with a cookie, a carrot a stick of celery or a bite of something she likes and concentration at this age, with a snack on the side will shift her concentration and let patience move in. Besides, her attention spam will start increasing. (she will shift her mind from: time to get the next piece or crayon or what ever, to: time to get the next bite. Either way, little artists need to re-charge! Little by little her tolerance and practice at stop, think, resume, will help her understand tiredness and time to shift to a different thing.
About the hair pulling, try not letting her know it bothers you, or she will come to it more often and "save as" in her mind as a tool to express her madness at her first kindergarthen fight, getting other kids to the floor knowing it gives her power and upsets the other one, or back at you when she is 8. Make a distance, have it up or out of her reach, so that her idea of getting at you by pulling it gets discarded.
Once the distraction avoids her to reach the limit, the hair pulling will not be happening, and the time out consideration will not need to be in place. If the situation gets totally out of control, get the book titled "1,2,3, Magic", but mix your patience to teach her to make good practice at "stop, think, and resume", before planning to implement time outs. Kids learn more with love and patience than punishment at this age when they still can not say to them selves "well, I'm tired, time for bed!"