Related to question Excel Sheet Column Title
Given a column title as appear in an Excel sheet, return its corresponding column number.
A -> 1 B -> 2 C -> 3 ... Z -> 26 AA -> 27 ...
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.
You may assume that the array is non-empty and the majority element always exist ...
Given a non-zero positive integer, return its corresponding column title as appear in an Excel sheet.
1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.
If the fractional part is repeating, enclose the repeating part in parentheses.
Compare two version numbers version1 and version2.
If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0.
You may assume that the version strings are non-empty and contain only digits and the . character.