Question d’entretien chez Nagarro

They asked me to code DNF algorithm both optimised and Bruteforce approach