主要知识点: boolean modelIF/IDFvector space model一、boolean model 在es做各种搜索进行打分排序时,会先用boolean model 进行初步的筛选,boolean model类似and这种逻辑操作符,先过滤出包含指定term的doc。must/must not/should(过滤、包含、不包...
【题目】Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".【解析】字符串类型的二进制加法,从后往前加,再设置一个进位就ok了。【代码】public String addBinary(Stri