PIbd-14 Ivleev D.A. Lab03 Simple #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "Lab03"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: PIbd-14 Ivleev D.A. Lab03 Simpleto PIbd-14 Ivleev D.A. Lab03 SimpleПроверено
@ -0,0 +53,4 @@
public int Insert(T obj)
{
// TODO вставка в свободное место набора ✔
for (int i = 0; i < _collection.Length; i++)
Правильнее было вызвать Insert(T obj, 0);
@ -0,0 +66,4 @@
public int Insert(T obj, int position)
{
// TODO проверка позиции ✔
Нет проверок индекса на предмет выхода за границы
Pull request closed