Veniso Solutions interview question

1. let,const , var differences 2.sql 3.php 4.CTO interview, checks thinking style of candidate, understanding programmatic mindset asks to solve code in any langauge like i was asked there are n number of people and if 1 kills next person and pass knife to 3rd person and same 3 does and pass it to 5 and so on who will be left last? and create a variable input where i can selct where this knife game starts from.