Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1000495 // Similar structure tests

Document

It would be nice if similarity is commutative.

Requirements:

diff("", "") = 0
diff("", "a") > diff("", """)
diff("one two three", "one two four") > diff("one two three", "one two three")
diff("one two three", "one five four") > diff("one two three", "one three three")
diff("one two three", "one five four") > diff("one two three", "one three four")

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000495
Snippet name: Similar structure tests
Eternal ID of this version: #1000495/1
Text MD5: 51007b1cf49d38bce86b99d619c1a73c
Author: stefan
Category:
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-09 16:46:17
Source code size: 361 bytes / 9 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 478 / 97
Referenced in: [show references]