Code RecipeDec 31, 20214 minReverse Integer - Leetcode #7 Short & Simple SolutionGiven a 32-bit signed integer x, reverse the digits in x and return the result. If after reversing the result goes outside the signed 32-bit
Code RecipeDec 30, 20216 minPalindrome Number - Leetcode #9 Short & Simple SolutionGiven an integer x, return true if x is a palindrome integer. An integer is a palindrome when it reads the same backward as forward.
Code RecipeDec 18, 20216 minBinary Search: Searching Made EasyBinary search works only sorted arrays. Binary search divides the given array in the middle into two halves. Hence the name binary search.