I applied for UBS through LinkedIn. First round was coding round on Hacker Rank . This round was not cleared. I was able to solve one problem and another problem was difficult for me.
Interview questions [2]
Question 1
Find closed path in a number. Only digit 0 ,4 ,6 and 9 have one closed path and 8 has two closed path. Rest digit 1, 2, 3, 5,7 has zero closed path. So given a number N then calculate closed path?