Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

283
Vistas
A String Describing the Additions, Removals and Changes Between Strings?

I've been attempting to create a version control system using strings (Files in Base64) in Javascript. I figure instead of storing every version of a file as a completely new file this will cut down on space. Instead I would like to create a chain of differences based on an original file.

For example: new_version("Hello world! My name is Bob.", "Hello world! My Papa is Sam.") should return something like ?16?P?1?pa?4?Sam?1? Where the integer represents how many spaces to skip before making a change. The issue I'm facing is words with different lengths. Replacing Sam with Bill would completely alter the remaining string. I'm wondering if there is a better way than comparing every character as I've done for my prototype.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda