What is the Algorithm of deletion of element in array

  • What is the Algorithm of deletion of element in array


  • 1 Comment sorted by


  • Algorithm: deletion in an array.
    Step 1: ITEM: = LA [K].
    Step 2: Repeat for J=K to N-1.
    [Move J + 1st element upward] set LA [J]:=LA [J+1].
    [End of loop]
    Step 3: [Repeat the number N of elements in LA] set N: =N-1
    Step 4: Exit.




Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

Top Posters Weekly

Optimum Creative