:)又见一牛逼的警车,蛋疼啊!# Joke - 肚皮舞运动
d*g
1 楼
1. A practical problem from interviewer’s work.
Write a ‘translator’ program to convert a string (in C++ or other
language) into something which can be applied to the ‘where’ clause in sql
‘select’, here the string can be evaluated to a Boolean value, eg aa==3 &&
bb>12 || … (not sure about the answer. any idea?)
2. What’s garbage collection? What is the disadvantage of using reference
counting? (my ans: ref cycle)
Write a ‘translator’ program to convert a string (in C++ or other
language) into something which can be applied to the ‘where’ clause in sql
‘select’, here the string can be evaluated to a Boolean value, eg aa==3 &&
bb>12 || … (not sure about the answer. any idea?)
2. What’s garbage collection? What is the disadvantage of using reference
counting? (my ans: ref cycle)