Pop-Up Thingie
Sidebar
War Ensemble BBS
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Newsgroups
comp.lang.python
(hijk is a Subseq of Hijack) (abcde is a Subseq of Absconded)
From
HenHanna
@HenHanna@dev.null to
rec.puzzles,comp.lang.lisp,comp.lang.python
on Sun Feb 16 18:54:38 2025
From Newsgroup: comp.lang.python
Does this come standard in a library (package) in Python or
(Gauche)Scheme?
________________
def Subseq(X, Y):
i,j = 0,0
while i < len(X) and j < len(Y):
if X[i] == Y[j]: i += 1
j += 1
return i == len(X)
___________________ (abcde is a Subseq of Absconded)
___________________ (hijk is a Subseq of Hijack)
--- Synchronet 3.20c-Linux NewsLink 1.2
Who's Online
Recent Visitors
Zenobyte
Wed Sep 17 14:30:46 2025
from
San Juan, Pr
via
Telnet
Microbot
Wed Sep 17 08:25:14 2025
from
Moore, Ok
via
Telnet
Zenobyte
Tue Sep 16 15:06:15 2025
from
San Juan, Pr
via
Telnet
Microbot
Tue Sep 16 10:00:46 2025
from
Moore, Ok
via
Telnet
System Info
Sysop:
DaiTengu
Location:
Appleton, WI
Users:
1,070
Nodes:
10 (
0
/
10
)
Uptime:
161:03:08
Calls:
13,734
Calls today:
2
Files:
186,966
D/L today:
843 files
(303M bytes)
Messages:
2,418,725