Hi,
I have problem in determining to start at 0 or 1 when doing LeetCode DSA questions.
And also whether to use arrays.length -1 that kind of things as well as using 2 loops
to do the sorting and whether to start the 2nd loop at 0 or 1 and sometimes people
use the second loop to start at the first loop 0 index.
Hope someone can give me some guidance.
Tks.
I have no idea what you mean by "LeetCode DSA", and if they have
anything to do with Java, so I don't know, what index they feel like
having for the first element of their arrays.
Hope someone can give me some guidance.
Tks.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 495 |
Nodes: | 16 (2 / 14) |
Uptime: | 43:36:59 |
Calls: | 9,745 |
Calls today: | 5 |
Files: | 13,742 |
Messages: | 6,183,986 |