help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: puzzle with string permutations [photo]


From: Emanuel Berg
Subject: Re: puzzle with string permutations [photo]
Date: Tue, 07 Jun 2022 15:28:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> ;; (string-perms-filter "eht")      ; the
> ;; (string-perms-filter "ogod")     ; good
> ;; (string-perms-filter "erontuf")
> ;; (string-perms-filter "si")       ; is
> ;; (string-perms-filter "kudtce")   ; tucked
> ;; (string-perms-filter "ni")       ; in
> ;; (string-perms-filter "hte")      ; the
> ;; (string-perms-filter "pigelsen")
> ;; (string-perms-filter "seot")     ; toes
> ;; (string-perms-filter "tagni")    ; giant

OK, I completed the last two with the same method (functions),
it seems "pigelsen" is the only one that has two permutations
that are also words, see below.

Also it wasn't quite right above, the word order ... but
almost

;; (string-perms-filter "ogod")     ; good
;; (string-perms-filter "erontuf")  ; fortune
;; (string-perms-filter "si")       ; is
;; (string-perms-filter "kudtce")   ; tucked
;; (string-perms-filter "ni")       ; in
;; (string-perms-filter "eht")      ; the
;; (string-perms-filter "seot")     ; toes
;; (string-perms-filter "fo")       ; of
;; (string-perms-filter "hte")      ; the
;; (string-perms-filter "pigelsen") ; ("peelings" "sleeping")
;; (string-perms-filter "tagni")    ; giant

https://www.youtube.com/watch?v=VuDKPak3HQw

Ikr? I should have been on Survivor! I could have won with
this method! :D

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]