Skip to content

Instantly share code, notes, and snippets.

View loyio's full-sized avatar
:shipit:
Focusing

Loyio Hex loyio

:shipit:
Focusing
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am loyio on github.
  • I am loyio (https://keybase.io/loyio) on keybase.
  • I have a public key ASBdvq0nBisbjB-eSCbjPpUs9vPQtnyzmDaQdbSNctF0Nwo

To claim this, I am signing this object:

@loyio
loyio / SequenceListInsert.cpp
Created March 29, 2021 00:49
SequenceList Insert
View SequenceListInsert.cpp
Status ListInsert_Sq(SqList *L, int i, LElemType_Sq e)
{
LElemType_Sq *newbase;
LElemType_Sq *p, *q;
if(i<1 || i>(*L).length+1)
return ERROR;
if((*L).length >= (*L).listsize)
{