Lesson 5 – Stacks and Queues – StoneWall (sigma2012) demo task solution code written in php. Gives 100/100 score at the time of publishing. The description of the problem is copyrighted, so please see the following link for it: //codility.com/demo/take-sample-test/stone_wall Solution…