PureLogics Interview Question

simple questions simple logic building questions