Home > Back-end >  Data structure and algorithm of linear table
Data structure and algorithm of linear table

Time:10-06

Bosses can write so excuse me? Please guide, pure white...

CodePudding user response:

Put the if judgment in 2 in the front of the sentence above, after a while loop should determine the I & gt;=L.l ength
Because they do not know the conditions of the while loop exit is which one, thus determine first whether I & gt;=L.l ength exit, so that ensure the array is not crossing the line, or linear table is beyond the scope

CodePudding user response:

Thank you, my careless the

CodePudding user response:

It is rare to see people pen write code!

This is a good habit, for beginners to insist!

  • Related