Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 254 Bytes

File metadata and controls

6 lines (4 loc) · 254 Bytes

Question5

Explanation

Test case 1. If you multiply 0 with 1, you get 0, we see that a0 = 0. So, the array is beautiful.

Test case 3. If you multiply 5 with 6, you get 30, there does not exist an k such that ak = 30. So, the array is not beautiful.