{
  "translations" :{
    "en": {
      ".exerciseTitle": "Digital Search Tree",
      "av_Authors": "Kasper Hellström",
      ".instructLabel": "Instructions:",
      ".instructions": "Insert the given keys into the initially empty digital search tree."
    },
    "fi": {
      ".exerciseTitle": "Digitaalinen hakupuu",
      "av_Authors": "Kasper Hellström",
      ".instructLabel": "Ohjeet:",
      ".instructions": "Lisää pinon avaimet annetussa järjestyksessä alla olevaan digitaaliseen hakupuuhun."
    }
  },
  "code": {
    "english": [
      [
        "INSERT:",
        "1. Each new item will be inserted as a leaf node",
        "2. Search for the correct position",
        "3. Insert the item under an existing leaf node based on the next bit"
      ],
      [
        "SEARCH:",
        "1. Start from the root node and the most significant bit",
        "2. If the item is in the current node, the search ends",
        "3. If not, continue search based on the current bit (0 = go left, 1 = go right)",
        "4. Take the next bit and continue from line 2"
      ]
    ],
    "finnish": [
      [
        "INSERT:",
        "1. Alkio lisätään aina puun lehdeksi",
        "2. Haetaan lisättävän alkion paikka",
        "3. Lisätään alkio lehtisolmun alle seuraavan bitin perusteella"
      ],
      [
        "SEARCH:",
        "1. Aloitetaan juuresta ja eniten merkitsevästä bitistä",
        "2. Jos avain on käsiteltävässä solmussa haku päättyy",
        "3. Jos ei, edetään puussa nykyisen bitin perusteella (0 = vasemmalle, 1 = oikealle)",
        "4. Siirrytään seuraavaan bittiin, jatketaan kohdasta 2"
      ]
    ]
  }
}
