LBM SOLUTIONS interview question

* *** ***** ******* ********* this pyramid triangle logic