find minimum no of clicks required to browse through channels