{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/5d4adbe4d32a4e6d937075e5ab7c3c0a\" frameborder=\"0\" width=\"1248\" height=\"936\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":936,"width":1248,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":936,"thumbnail_width":1248,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/5d4adbe4d32a4e6d937075e5ab7c3c0a-ec2fd4132f2c7c94.gif","duration":365.189,"title":"Kotlin Next Bigger Number with Digits","description":"This Loom explains how to implement the “next big number” problem in Kotlin by rearranging digits to form the smallest larger number. The approach traverses digits from right to left to find the first position i where a digit is smaller than the digit next to it, then swaps it with the smallest digit on the right that is larger than the digit at i. After the swap, it sorts the remaining digits to build the result and returns minus one if no such rearrangement exists. The speaker walks through array or string digit manipulation steps and ends by testing the function and preparing to refactor or comment, though no issues are seen."}