logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

485题 力扣入门系列 c语言编写

适合大一新手的c语言算法题。

#leetcode
(猴子选王)约瑟夫环方法4种方法之一——循环链表法

//约瑟夫环的循环链表解法#include <stdlib.h>#include <malloc.h>#include <stdio.h>struct node//链表结构体的创建。{int data;struct node* next;};int main(void){int array[100];//循环输出数组intn, m;//猴子个数,淘汰间序stru

#链表#数据结构#算法 +1
到底了