Skip to main content
deleted 9 characters in body
Source Link
AZTECCO
  • 10.8k
  • 1
  • 15
  • 58

Japt, 15 1918 bytes

ã
cU cUã)à f_¬¥UÃâ ®®nf_¬¥NîmnÃâ

Try itTry it

ã                  - substrings of input
  cUã)             - concatenated to substrings of input(repeated)
      à            - combinations
        f_´U      - take combinatons if == input when joined
             Ãâ    - implicitly returns unique elements
  • Added ®®n to convert resultsSaved 1 thanks to numbers thus removing leading zeroes.@Shaggy !

    ã                  - substrings of input
      cUã)             - concatenated to substrings of input(repeated)
          à            - combinations
            f_´N      - take combinatons if == input when joined
           ®mn  - deduplicates ( @Shaggy ® )
                    Ãâ    - implicitly returns unique elements

Japt, 15 19 bytes

ã cUã)à f_¬¥UÃâ ®®n

Try it

ã                  - substrings of input
  cUã)             - concatenated to substrings of input(repeated)
      à            - combinations
        f_´U      - take combinatons if == input when joined
             Ãâ    - implicitly returns unique elements
  • Added ®®n to convert results to numbers thus removing leading zeroes.

Japt, 18 bytes

ã
cU à f_¬¥NîmnÃâ

Try it

  • Saved 1 thanks to @Shaggy !

    ã                  - substrings of input
      cUã)             - concatenated to substrings of input(repeated)
          à            - combinations
            f_´N      - take combinatons if == input when joined
           ®mn  - deduplicates ( @Shaggy ® )
                    Ãâ    - implicitly returns unique elements
Answer fixed
Source Link
AZTECCO
  • 10.8k
  • 1
  • 15
  • 58

Japt, 1515 19 bytes

ã cUã)à f_¬¥UÃâ ®®n

Try itTry it


    ã                  - substrings of input
      cUã)             - concatenated to substrings of input(repeated)
          à            - combinations
            f_´U      - take combinatons if == input when joined
                 Ãâ    - implicitly returns unique elements
ã                  - substrings of input
  cUã)             - concatenated to substrings of input(repeated)
      à            - combinations
        f_´U      - take combinatons if == input when joined
             Ãâ    - implicitly returns unique elements
  • Added ®®n to convert results to numbers thus removing leading zeroes.

Japt, 15 bytes

ã cUã)à f_¬¥UÃâ

Try it


    ã                  - substrings of input
      cUã)             - concatenated to substrings of input(repeated)
          à            - combinations
            f_´U      - take combinatons if == input when joined
                 Ãâ    - implicitly returns unique elements

Japt, 15 19 bytes

ã cUã)à f_¬¥UÃâ ®®n

Try it

ã                  - substrings of input
  cUã)             - concatenated to substrings of input(repeated)
      à            - combinations
        f_´U      - take combinatons if == input when joined
             Ãâ    - implicitly returns unique elements
  • Added ®®n to convert results to numbers thus removing leading zeroes.
Source Link
AZTECCO
  • 10.8k
  • 1
  • 15
  • 58

Japt, 15 bytes

ã cUã)à f_¬¥UÃâ

Try it

    ã                  - substrings of input
      cUã)             - concatenated to substrings of input(repeated)
          à            - combinations
            f_´U      - take combinatons if == input when joined
                 Ãâ    - implicitly returns unique elements