Tag: online judge
Question : Given a sorted list represented by a directional link structure (as follows), remove the duplicates and return the new list. /** * Definition for singly-linked list. * …
Source: http://oj.leetcode.com/problems/powx-n/ Implement Pow(x, n) which computes The given parameter x is a 64-bit double and n is a 32-bit integer. The quick solution may be so obvious, using bruteforce, iterate n times that multiplies x and gives a straightforward result. class Solution …
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 …
Timus online judge is my favorite. There are many compilers that are on windows platform, for example, Visual Studio. Does the judge accept program that embeds inline assembly ? …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/278/B The problem asks for the first sequence (sorted in alphabetic order) of character(s) that is not a substring of the given list of strings.The …