Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

281
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!