SJC_Hacker 6 hours ago

For Google, Facebook and Amazon, yes. At least last I interviewed there a few years ago. They're more interested in the data structure/algorithm

But I have also been to places that demand actual working code which is compiled and is tested against cases

Usually there the problem is simpler, so there's that