Here’s what Warren Buffett, Charlie Munger and Bill Gates have learned from working together

Bill Gates: My whole business education started the day I met Warren

Warren Buffett and Charlie Munger have been business partners since 1978 and have grown Berkshire Hathaway into one of the biggest companies in the world. Microsoft co-founder Bill Gates has worked with the pair for years as well; he joined Berkshire's board in 2004.

Together, they've shared lots of wisdom. And they've learned from each other as well. "My whole business education started the day I met Warren, and the Berkshire team has helped keep it going at full speed," Gates said on CNBC's "Squawk Box" on Monday.

He says that Buffett has taught him valuable lessons about thinking long-term and approaching situations with that mindset. Getting to learn from his friend "has been an incredible education and totally shaped how I think about things."

Warren Buffett, Charlie Munger and Bill Gates
Lacy O'Toole | CNBC

Buffett gleaned a similar lesson throughout his years running Berkshire: The people you surround yourself with matter immensely.

"It's very important in life to associate with people who are better than you are," he tells "Squawk Box." "You will go in the direction of the people you associate with, and you'll get ideas from them, you'll see how their behavior works, all that sort of thing."

When choosing friends, Buffett says you should seek out people who you can both admire and enjoy. "With both Bill and Charlie, I've learned a lot, I've had an enormous amount of fun, but I pick up on their ideas and that's been a very good thing," he says.

You will go in the direction of the people you associate with.
Warren Buffett

Looking back on his years at the helm of Berkshire Hathaway, Munger is proud of the company he has helped Buffett build. He's especially pleased with Berkshire's ability to thrive as a business without a lot of undue complexity or red tape. "Usually there's a horse race for power and prominence," he says. "We have a very admirable bunch of people and we have less bureaucracy than almost anybody, and that is not a small achievement. I can't think of a single company of our size that has less bureaucracy than we do."

Buffett agrees, saying they've been fortunate to be able to build Berkshire from the ground up. "We haven't walked into some huge organization and had to crawl through the progressions and the politics," he says. "We've created what we want to create."

Don't miss: Here's why Warren Buffett says that he and Charlie Munger are successful

Like this story? Like CNBC Make It on Facebook!

Warren Buffett’s partner Charlie Munger: Avoid these 5 things that can make you miserable