It's possible you're thinking of:
* "Matilda" by Roald Dahl, which features a young girl named Matilda who uses her intelligence and wit to outsmart her cruel parents and mean headmistress. The book was adapted into a successful film starring Mara Wilson.
* "The Wonderful Story of Henry Sugar and Six More", another Roald Dahl book that tells the story of a man who learns how to perform extraordinary feats, including reading people's minds. This book has recently been adapted into a film by Wes Anderson.
If you can provide more details about what you're looking for, I might be able to help you further.