换主板cpu,重装win10?# Hardware - 计算机硬件
y*u
1 楼
Design an algorithm and write code to remove the duplicate characters in a
string
Require no extra memory space.
I can only think 2 solu:
1) sort the string, but I will lose the original string
2) O(n^2), use two loop to detect duplicate char...
string
Require no extra memory space.
I can only think 2 solu:
1) sort the string, but I will lose the original string
2) O(n^2), use two loop to detect duplicate char...