提问回答
func compareTwoString( s1:String , s2:String) -> Bool
{
if(countElements(s1) == countElements(s2))
{
return s1 < s2
}
else
{
return countElements(s1) < countElements(s2)
}
}
func compareTwoString( s1:String , s2:String) -> Bool
{
if(countElements(s1) == countElements(s2))
{
return s1 < s2
}
else
{
return countElements(s1) < countElements(s2)
}
}
2014-12-27
举报