Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Activation Keys Solution

Overview

This is my JavaScript solution for the Activation Keys problem. The goal is to create a program that can modify a string based on specific commands until a "Generate" command is received.

My Implementation

The solution uses:

  • switch-case for command processing.
  • substring() for extracting parts of the string.
  • replace() and toUpperCase() / toLowerCase() for string transformations.

How it works

The function solve() takes an array of strings, where the first element is the initial activation key, and the subsequent elements are the commands to be executed.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages