摘要:
Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". 解法一:直接用reverse函数 1 class So 阅读全文
摘要:
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Given s = "hello", return "holle". Example 2: Given 阅读全文
摘要:
349. Intersection of Two Arrays Total Accepted: 2944 Total Submissions: 6253 Difficulty: Easy Given two arrays, write a function to compute their inte 阅读全文
摘要:
Prime Ring Problem Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 40640 Accepted Submission(s): 阅读全文