Shivam Guptashivam-gupta.hashnode.dev·Jul 4, 2022Pair and Triple in kotlinWhenever we want to return two values from a function, we make classes for that but creating too many classes can make your code inefficient. So, Instead of creating classes for two or more values, you can use Pair for returning or using two values...Discuss·2 likes·214 readsKotlin