由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 问java api的问题
... ?
相关主题
A problem on string parsing (using either grep or perl)how to find the date of today in UNIX?
怎么写搜价格的程序比较好?regular expression的一个问题
高人来讲讲这个Amazon的API gatewayA very dump c++ question
How to Parsing function in haskell?谁知道如何调试yacc程序?
parsing bibliography and sorting (转载)怎么样用 C Parse HTML?
parsing file in node: js or python ?Smart Parser/Compiler Development
请教一个parser的问题求教Code
Pattern matching如何下载网络页面,不包含,
相关话题的讨论汇总
话题: api话题: string话题: filters话题: logic
进入Programming版参与讨论
1 (共1页)
y*******d
发帖数: 1674
1
面试让写一个API,后面有附加问题:
Consider how the API could support 3rd party applications which need to
perform some logic based on the structure and content of a filter in a type-
safe manner.
不知道应该从什么方面考虑这个问题。以前没有这方面的经验。谢谢啦
还有一个也是这个APi一部分:
Input is a combination of arbitrary complex filters. 比如:
name = "smith" AND age > 9 OR Not(city = "New York")
It asks for a string representation, including the ability to generate and
parse filters from the string representation. (you are not required to
implement the string parsing logic since this could take too long)
Hint: give an example of a tree data structure.
z****e
发帖数: 54598
2
reflection
z****e
发帖数: 54598
3
for this requirement
it just ask u to imple a parser
which may need u to parse AND, OR, <, >, =, ( etc.
think of implementing calculator this assignment in the uni.
similar thing
y*******d
发帖数: 1674
4
thanks
1 (共1页)
进入Programming版参与讨论
... ?
相关主题
如何下载网络页面,不包含,
parsing bibliography and sorting (转载)
how to count the times a function is usedparsing file in node: js or python ?
How to user Perl to handle object on client side?请教一个parser的问题
c++ 中如何把str转换为float?Pattern matching
A problem on string parsing (using either grep or perl)how to find the date of today in UNIX?
怎么写搜价格的程序比较好?regular expression的一个问题
高人来讲讲这个Amazon的API gatewayA very dump c++ question
How to Parsing function in haskell?谁知道如何调试yacc程序?
相关话题的讨论汇总
话题: api话题: string话题: filters话题: logic