How to remove DuckDuckGo (Windows and Mac)

If https://duckduckgo.com/ webpage has become browser’s default search engine without your consent, well then you picked up malware. At first glance, there is nothing suspicions because it looks like other search engines like Google or Bing. Nevertheless, presence of DuckDuckGo greatly reduces browsing experience as well as computer performance.