GO-V.ORG
As seen in

GoZSY/Add-palindrome-string

Record text

对于一个字符串,我们想通过添加字符的方式使得新的字符串整体变成回文串,但是只能在原串的结尾添加字符,请返回在结尾添加的最短字符串。 给定原字符串A及它的长度n,请返回添加的字符串。保证原串不是回文串。 测试样例: "ab",2 返回:"a"

source: Software Heritage origin index (GitHub origins)licence: Per source; see source termsdatabase: git.dbmode: tablelatest row id: 100133346citation: —

对于一个字符串,我们想通过添加字符的方式使得新的字符串整体变成回文串,但是只能在原串的结尾添加字符,请返回在结尾添加的最短字符串。 给定原字符串A及它的长度n,请返回添加的字符串。保证原串不是回文串。 测试样例: "ab",2 返回:"a"

Cite this record

MLA
"GoZSY/Add-palindrome-string." Software Heritage origin index (GitHub origins), n.d., https://git.go-v.org/record/GoZSY%2FAdd-palindrome-string.

Chicago
"GoZSY/Add-palindrome-string." Software Heritage origin index (GitHub origins). n.d.. https://git.go-v.org/record/GoZSY%2FAdd-palindrome-string.

APA
Software Heritage origin index (GitHub origins). (n.d.). GoZSY/Add-palindrome-string. https://git.go-v.org/record/GoZSY%2FAdd-palindrome-string

Share card · JSON record · Cite this record (BibTeX) · Embed

Save to pass ·

source: Software Heritage origin index (GitHub origins)licence: Per source; see source termsyear: —id: GoZSY/Add-palindrome-stringcitation: https://git.go-v.org/record/GoZSY%2FAdd-palindrome-string

JSON · JSON download · CSV · full text · full-text JSON ·

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.