newszine

Rotated Digits | String Problem | LeetCode 788

4 years ago Lalit Bhagtani 0
Problem Statement A number N is a good number if after rotating each digit individually by 180 degrees, we get a valid number which is different from N. A number is valid if each digit remains a digit after rotation. following is the list of digits and its rotated state. 0  --> 0 1  -->  Read More