Search bar – Top Nav vs Left Nav? Which is better suited?

In the search bar which experience is better? That is having a left nav or navigation below/above the search bar.

a - Swift Type

b - Google

Cons for the top nav: Scalability wise left nav works the best.

I've seen many websites like google.com, bing.com, yahoo.com, algolia, etc. have navigation below the search. In a few other websites like swiftype, atlassian, etc. have the left navigation.

By experience wise which is better and why?