{
  "translations": {
    "en": {
      "sc1": "Here is a list containing five elements. We will remove the value 12 in position 1 of the array, which is the current position.",
      "sc2": "Copy  the  element to be deleted.",
      "sc3": "Shift all elements after current element one position to the left.",
      "sc4": "Decrease the list size by 1, from 5 to 4.",
      "sc5": "Return the deleted element.",
      "sc6": "Since we might have to shift all of the remaining elements, deletion from an array-based list is $\\Theta(n)$ in the worst case if there are $n$ elements in the list."
    }
  },
  "code": {
    "java": [{
      "url": "../../../SourceCode/Java/Lists/AList.java",
      "lineNumbers": false,
      "startAfter": "/* *** ODSATag: AListRemove *** */",
      "endBefore": "/* *** ODSAendTag: AListRemove *** */",
      "tags": {
        "sig": 2,
        "copy": 5,
        "for": 6,
        "forbody": 7,
        "dec": 8,
        "return": 9
      }
    }],
    "java_generic": [{
      "url": "../../../SourceCode/Java_Generic/Lists/AList.java",
      "lineNumbers": false,
      "startAfter": "/* *** ODSATag: AListRemove *** */",
      "endBefore": "/* *** ODSAendTag: AListRemove *** */",
      "tags": {
        "sig": 2,
        "copy": 5,
        "for": 6,
        "forbody": 7,
        "dec": 8,
        "return": 9
      }
    }],
    "c++": [{
      "url": "../../../SourceCode/C++/Lists/AList.h",
      "lineNumbers": false,
      "startAfter": "/* *** ODSATag: AListRemove *** */",
      "endBefore": "/* *** ODSAendTag: AListRemove *** */",
      "tags": {
        "sig": 2,
        "copy": 5,
        "for": 6,
        "forbody": 7,
        "dec": 8,
        "return": 9
      }
    }]
  }
}
