Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
fcn lcd(a,b){
|
||||
if(b.len()<a.len()){ t:=a; a=b; b=t; }
|
||||
foreach n,m in ([a.len()..1,-1],a.len()-n+1){
|
||||
s:=a[m,n];
|
||||
if(b.holds(s)) return(s);
|
||||
}
|
||||
""
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
lcd("testing123testing","thisisatest").println();
|
||||
Loading…
Add table
Add a link
Reference in a new issue