Tag: algorithm
A Palindrome string is a string that mirrors itself, for example, ’12a21′ reverse is the same string and ‘abcde’ is not. A Palindrome number is a integer number that …
Question: Given a number (integer) stored in an array of digits int digits Plus one and return the new array. Source: http://oj.leetcode.com/problems/plus-one/ The number is written from left to right, so for …
oj.leetcode.com is an online judge website that provides quick exercise to programming tasks. This is helpful before you go for an interview for a software company. The tasks seem easier …
CRC (Cyclic Redundancy Checksum) is a quick method to compute a value (or sometimes known as hash), that can be used to represent the data integrity. CRC32 computes a …
The problem is from codeforces: http://codeforces.com/problemset/problem/347/B It has been a while and I just pick another easy math problem to update the blog. The problem states that only maximum 1 …