Coding Seekho
前往频道在 Telegram
Live Programming Videos : C, C++, Data Structure, Advanced Data Structure, Core Java, Advanced Java, Python
显示更多未指定国家技术与应用15 765
6 841
订阅者
+224 小时
-77 天
+530 天
正在加载数据
吸引订阅者
十月 '2610月 '26
十月 '26
+2 801
在0个频道中
九月 '260
在0个频道中
Get PRO
八月 '260
在0个频道中
Get PRO
七月 '260
在0个频道中
Get PRO
六月 '260
在0个频道中
Get PRO
五月 '260
在0个频道中
Get PRO
四月 '260
在0个频道中
Get PRO
三月 '260
在0个频道中
Get PRO
二月 '260
在0个频道中
Get PRO
一月 '260
在0个频道中
Get PRO
十二月 '250
在0个频道中
Get PRO
十一月 '250
在0个频道中
Get PRO
十月 '250
在0个频道中
Get PRO
九月 '250
在0个频道中
Get PRO
八月 '250
在0个频道中
Get PRO
七月 '250
在0个频道中
Get PRO
六月 '250
在0个频道中
Get PRO
五月 '250
在0个频道中
Get PRO
四月 '250
在0个频道中
Get PRO
三月 '250
在0个频道中
Get PRO
二月 '250
在0个频道中
Get PRO
一月 '250
在0个频道中
Get PRO
十二月 '240
在0个频道中
Get PRO
十一月 '240
在0个频道中
Get PRO
十月 '240
在0个频道中
Get PRO
九月 '240
在0个频道中
Get PRO
八月 '240
在0个频道中
Get PRO
七月 '240
在0个频道中
Get PRO
六月 '240
在0个频道中
Get PRO
五月 '24
+56
在0个频道中
Get PRO
四月 '24
+84
在0个频道中
Get PRO
三月 '24
+68
在0个频道中
Get PRO
二月 '24
+128
在0个频道中
Get PRO
一月 '24
+3 775
在0个频道中
| 日期 | 订阅者增长 | 提及 | 频道 | |
| 27 十月 | +2 | |||
| 26 十月 | +2 | |||
| 25 十月 | +2 | |||
| 24 十月 | +1 | |||
| 23 十月 | +2 | |||
| 22 十月 | 0 | |||
| 21 十月 | +2 | |||
| 20 十月 | +3 | |||
| 19 十月 | +6 | |||
| 18 十月 | +6 | |||
| 17 十月 | +2 | |||
| 16 十月 | +2 | |||
| 15 十月 | +4 | |||
| 14 十月 | +2 | |||
| 13 十月 | +4 | |||
| 12 十月 | +6 | |||
| 11 十月 | +5 | |||
| 10 十月 | +5 |
频道帖子
char stack[100];
int top=-1;
char pop()
{
char c1=stack[top];
top--;
return c1;
}
void push(char ch)
{
top++;
stack[top]=ch;
}
int isOperator(char ch)
{
if(ch=='+' ch=='-' ch=='*' ch=='/' ch=='^')
{
return 1;
}
else
{
return 0;
}
}
char peek()
{
return stack[top];
}
precedence(char ch)
{
if(ch=='^')
{
return 3;
}
else if(ch=='/' ch=='*')
{
return 2;
}
else if(ch=='+' ch=='-')
{
return 1;
}
else
{
return 0;
}
}
int isOperand(char ch)
{
if(isalnum(ch))
{
return 1;
}
else
{
return 0;
}
}
void infixtopostfix(char infix[],char postfix[])
{
int i=0,j=0;
char ch;
while(infix[i]!='\0')
{
ch=infix[i];
if(isOperand(ch))
{
postfix[j]=ch;
j++;
}
else if(ch=='(')
{
push(ch);
}
else if(ch==')')
{
while(top!=-1 && peek()!='(')
{
postfix[j]=pop();
j++;
}
if(top!=-1)
{
pop();
}
}
else if(isOperator(ch))
{
while(top!=-1 && peek()!='(' &&
(precedence(peek()))>=(precedence(ch)))
{
postfix[j]=pop();
j++;
}
push(ch);
}
i++;
}
while(top!=-1)
{
postfix[j]=pop();
j++;
}
postfix[j]='\0';
}
void main()
{
char infix[100],postfix[100];
printf("Enter infix expression:");
scanf("%99s",infix);
infixtopostfix(infix,postfix);
printf("\nPstfix expression is: %s",postfix);
getch();
}
| 2 | #include<stdio.h>
typedef struct node
{
int data;
struct node *next;
}node;
node *start=NULL;
node *cn()
{
node *g1;
g1=(node *)malloc(sizeof(node));
printf("Enter a data:");
scanf("%d",&g1->data);
g1->next=g1;
return g1;
}
void is()
{
node *t1,*t2;
t1=cn();
if(start==NULL)
{
start=t1;
}
else
{
t1->next=start;
t2=start;
while(t2->next!=start)
{
t2=t2->next;
}
t2->next=t1;
start=t1;
}
}
void ie()
{
node *b1,*y1;
b1=cn();
if(start==NULL)
{
start=b1;
}
else
{
y1=start;
while(y1->next!=start)
{
y1=y1->next;
}
y1->next=b1;
b1->next=start;
}
}
void im()
{
int d,i;
node *j1,*j2,*j3;
j1=cn();
if(start==NULL)
{
start=j1;
}
else
{
j2=start;
printf("Enter where you want to insert:");
scanf("%d",&d);
for(i=0;i<d-2;i++)
{
j2=j2->next;
}
j3=j2->next;
j2->next=j1;
j1->next=j3;
}
}
ds()
{
node *x1;
if(start==NULL)
{
printf("There is no any node to delete");
}
else
{
x1=start;
while(x1->next!=start)
{
x1=x1->next;
}
x1->next=start->next;
x1=start;
start=start->next;
x1->next=NULL;
free(x1);
}
}
void de()
{
node *y1,*y2;
if(start==NULL)
{
printf("There is no any node to delete");
}
else
{
y1=start;
while(y1->next->next!=start)
{
y1=y1->next;
}
y2=y1->next;
y1->next=start;
y2->next=NULL;
free(y2);
}
}
dm()
{
}
display()
{
node *u1;
if(start==NULL)
{
printf("There is no any node to display");
}
else
{
u1=start;
while(u1->next!=start)
{
printf("%d ",u1->data);
u1=u1->next;
}
printf("%d ",u1->data);
}
}
void main()
{
int ch;
printf("\n1. Insert start");
printf("\n2. Insert End");
printf("\n3. Insert Middle");
printf("\n4. Delete start");
printf("\n5. Delete end");
printf("\n6. Delete middle");
printf("\n7. Display");
printf("\n8. Exit");
while(1)
{
printf("\nEnter your choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
is();
break;
}
case 2:
{
ie();
break;
}
case 3:
{
im();
break;
}
case 4:
{
ds();
break;
}
case 5:
{
de();
break;
}
case 6:
{
dm();
break;
}
case 7:
{
display();
break;
}
case 8:
{
exit(0);
}
default:
{
printf("Invalid Input");
}
}
}
getch();
} | 1 878 |
| 3 | #include<stdio.h>
struct node
{
struct node *prev;
int info;
struct node *next;
};
struct node *head=NULL;
cn()
{
struct node *g1;
g1=(struct node *)malloc(sizeof(struct node));
printf("Enter a data:");
scanf("%d",&g1->info);
g1->prev=NULL;
g1->next=NULL;
return g1;
}
is()
{
struct node *s1;
s1=cn();
if(head==NULL)
{
head=s1;
}
else
{
s1->next=head;
head->prev=s1;
head=s1;
}
}
ie()
{
struct node *j1,*h1;
j1=cn();
if(head==NULL)
{
head=j1;
}
else
{
h1=head;
while(h1->next!=NULL)
h1=h1->next;
j1->prev=h1;
h1->next=j1;
}
}
im()
{
}
ds()
{
struct node *v1;
if(head==NULL)
{
printf("There is no any node to delete");
}
else
{
v1=head;
head=head->next;
head->prev=NULL;
v1->next=NULL;
free(v1);
}
}
de()
{
struct node *u1;
if(head==NULL)
{
printf("There is no any node to delete");
}
else
{
u1=head;
while(u1->next!=NULL)
{
u1=u1->next;
}
u1->prev->next=NULL;
u1->prev=NULL;
free(u1);
}
}
dm()
{
int d;
struct node *u1;
if(head==NULL)
{
printf("There is no any node to delete");
}
else
{
u1=head;
printf("Enter a data that you want to delete:");
scanf("%d",&d);
while(u1->info!=d)
{
u1=u1->next;
}
u1->prev->next=u1->next;
u1->next->prev=u1->prev;
u1->prev=NULL;
u1->next=NULL;
free(u1);
}
}
display()
{
struct node *b1;
if(head==NULL)
{
printf("There is no any node to display");
}
else
{
b1=head;
while(b1!=NULL)
{
printf("%d ",b1->info);
b1=b1->next;
}
}
}
void main()
{
int ch;
printf("\n1. Insert start");
printf("\n2. Insert End");
printf("\n3. Insert Middle");
printf("\n4. Delete start");
printf("\n5. Delete end");
printf("\n6. Delete middle");
printf("\n7. Display");
printf("\n8. Exit");
while(1)
{
printf("\n\nEnter your choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
is();
break;
}
case 2:
{
ie();
break;
}
case 3:
{
im();
break;
}
case 4:
{
ds();
break;
}
case 5:
{
de();
break;
}
case 6:
{
dm();
break;
}
case 7:
{
display();
break;
}
case 8:
{
exit(0);
}
default:
{
printf("Invalid Input");
}
}
}
getch();
} | 1 771 |
| 4 | Doubly Linked List Full Program below | 1 258 |
| 5 | struct node
{
int data;
struct node *next;
};
struct node *start=0;
struct node *createNode()
{
struct node *k1;
k1=(struct node *)malloc(sizeof(struct node));
printf("Enter a data:");
scanf("%d",&k1->data);
k1->next=0;
return k1;
}
void insertStart()
{
struct node *b1;
b1=createNode();
if(start==0)
{
start=b1;
}
else
{
b1->next=start;
start=b1;
}
}
void insertEnd()
{
struct node *x1,*v1;
x1=createNode();
if(start==0)
{
start=x1;
}
else
{
v1=start;
while(v1->next!=0)
{
v1=v1->next;
}
v1->next=x1;
}
}
void insertMiddle()
{
struct node *b1,*b2;
int d;
b1=createNode();
if(start==0)
{
start=b1;
}
printf("Enter a data where you want to store:");
scanf("%d",&d);
b2=start;
while(b2->data!=d)
{
b2=b2->next;
}
b1->next=b2->next;
b2->next=b1;
}
void deleteStart()
{
struct node *g1;
if(start==0)
{
printf("There is no any node to delete");
}
else
{
g1=start;
start=start->next;
g1->next=0;
free(g1);
printf("Node Deleted Successfully");
}
}
void deleteEnd()
{
struct node *p1,*p2;
if(start==0)
{
printf("There is no any node to delete");
}
else if(start->next==0)
{
free(start);
start=0;
}
else
{
p1=start;
while(p1->next->next!=0)
{
p1=p1->next;
}
p2=p1->next;
p1->next=0;
free(p2);
}
}
void deleteMiddle()
{
}
void display()
{
struct node *d1;
if(start==0)
{
printf("There is no any node to display");
}
else
{
d1=start;
while(d1!=0)
{
printf("%d ",d1->data);
d1=d1->next;
}
}
}
void main()
{
int ch;
printf("\n1. Insert from start.");
printf("\n2. Insert from end.");
printf("\n3. Insert from middle.");
printf("\n4. Delete from start.");
printf("\n5. Delete from end.");
printf("\n6. Delete from middle.");
printf("\n7. Display");
printf("\n8. Exit");
while(1)
{
printf("\nEnter you choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
insertStart();
break;
}
case 2:
{
insertEnd();
break;
}
case 3:
{
insertMiddle();
break;
}
case 4:
{
deleteStart();
break;
}
case 5:
{
deleteEnd();
break;
}
case 6:
{
deleteMiddle();
break;
}
case 7:
{
display();
break;
}
case 8:
{
exit(0);
}
default:
{
printf("Wrong Input");
}
}
}
getch();
} | 1 905 |
| 6 | void quick_sort(int a[],int N)
{
int top=-1;
int beg;
int end;
int pivot;
int lower[20];
int upper[20];
if(N>1)
{
top++;
lower[top]=0;
upper[top]=N-1;
}
while(top!=-1)
{
beg=lower[top];
end=upper[top];
top--;
pivot=quick(a,beg,end,pivot);
if(beg<pivot-1)
{
top++;
lower[top]=beg;
upper[top]=pivot-1;
}
if(pivot+1<end)
{
top++;
lower[top]=pivot+1;
upper[top]=end;
}
}
}
int quick(int a[],int beg,int end,int pivot)
{
int l,r,t;
l=beg;
r=end;
pivot=l;
s1:while(a[pivot]<=a[r] && pivot!=r)
{
r--;
}
if(pivot==r)
{
return pivot;
}
if(a[pivot]>a[r])
{
t=a[pivot];
a[pivot]=a[r];
a[r]=t;
pivot=r;
}
while(a[pivot]>=a[l] && pivot!=l)
{
l++;
}
if(pivot==l)
{
return pivot;
}
if(a[pivot]<a[l])
{
t=a[pivot];
a[pivot]=a[l];
a[l]=t;
pivot=l;
}
goto s1;
}
void main()
{
int a[]={77,44,11,78,2,91,74,20,50,7};
int N=10,i;
quick_sort(a,N);
for(i=0;i<N;i++)
{
printf("%d ",a[i]);
}
getch();
} | 2 391 |
| 7 | #include <stdio.h>
#include <conio.h>
void merge_sort(int a[], int N)
{
int top = -1;
int beg;
int end;
int mid;
int lower[20];
int upper[20];
if (N > 1)
{
top++;
lower[top] = 0;
upper[top] = N - 1;
}
while (top != -1)
{
beg = lower[top];
end = upper[top];
top--;
if (beg < end)
{
mid = (beg + end) / 2;
top++;
lower[top] = mid + 1;
upper[top] = end;
top++;
lower[top] = beg;
upper[top] = mid;
}
}
/* Actual merging */
for (int i = 1; i < N; i = i * 2)
{
for (int beg = 0; beg < N; beg = beg + 2 * i)
{
int mid = beg + i - 1;
int end = beg + 2 * i - 1;
if (mid < N - 1)
{
if (end >= N)
end = N - 1;
merge(a, beg, mid, end);
}
}
}
}
void merge(int a[], int beg, int mid, int end)
{
int i, j, k;
int b[20];
i = beg;
j = mid + 1;
k = beg;
while (i <= mid && j <= end)
{
if (a[i] <= a[j])
{
b[k] = a[i];
i++;
}
else
{
b[k] = a[j];
j++;
}
k++;
}
while (i <= mid)
{
b[k] = a[i];
i++;
k++;
}
while (j <= end)
{
b[k] = a[j];
j++;
k++;
}
for (i = beg; i <= end; i++)
{
a[i] = b[i];
}
}
void main()
{
int a[] = {77, 44, 11, 78, 2, 91, 74, 20, 50, 7};
int N = 10;
int i;
merge_sort(a, N);
for (i = 0; i < N; i++)
{
printf("%d ", a[i]);
}
getch();
}
Output:
2 7 11 20 44 50 74 77 78 91 | 2 345 |
| 8 | +1 Document from Vikas Singh | 2 696 |
| 9 | Hi | 7 869 |
| 10 | Screen Shot 28-10-2023 at 09.03.png | 3 205 |
| 11 | struct node
{
int data;
struct node*next;
};
struct node *start=0;
struct node *cn()
{
struct node *k1;
k1=(struct node *)malloc(sizeof(struct node));
printf("Enter a data:");
scanf("%d",&k1->data);
k1->next=k1;
return k1;
}
void is()
{
struct node *h1,*t1;
h1=cn();
if(start==0)
{
start=h1;
}
else
{
t1=start;
while(t1->next!=start)
{
t1=t1->next;
}
h1->next=start;
start=h1;
t1->next=h1;
}
}
void ie()
{
struct node *b1,*k1;
b1=cn();
if(start==0)
{
start=b1;
}
else
{
k1=start;
while(k1->next!=start)
k1=k1->next;
k1->next=b1;
b1->next=start;
}
}
im()
{
}
void ds()
{
struct node *g1;
if(start==0)
{
printf("There is no any node to delete");
}
else
{
g1=start;
while(g1->next!=start)
{
g1=g1->next;
}
g1->next=start->next;
g1=start;
start=start->next;
g1->next=0;
free(g1);
}
}
void de()
{
struct node *a1,*p1;
if(start==0)
{
printf("There is no any node to delete");
}
else
{
a1=start;
while(a1->next->next!=start)
{
a1=a1->next;
}
p1=a1->next;
a1->next=start;
p1->next=0;
free(p1);
}
}
dm()
{
}
void display()
{
struct node *g1;
if(start==0)
{
printf("There is no any node to display.");
}
else
{
g1=start;
while(g1->next!=start)
{
printf("%d ",g1->data);
g1=g1->next;
}
printf("%d",g1->data);
}
}
void main()
{
int ch;
printf("\n1. Insert from start");
printf("\n2. Insert from end");
printf("\n3. Insert from middle");
printf("\n4. Delete from start");
printf("\n5. Delete from end");
printf("\n6. Delete from middle");
printf("\n7. Display");
printf("\n8. Exit");
while(1)
{
printf("\nEnter Your choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
is();
break;
}
case 2:
{
ie();
break;
}
case 3:
{
im();
break;
}
case 4:
{
ds();
break;
}
case 5:
{
de();
break;
}
case 6:
{
dm();
break;
}
case 7:
{
display();
break;
}
case 8:
{
exit(0);
}
default:
{
printf("Wrong Input");
}
}
}
getch();
} | 3 369 |
| 12 | struct node
{
int data;
struct node*next;
};
struct node *start=0;
cn()
{
}
is()
{
}
ie()
{
}
im()
{
}
ds()
{
}
de()
{
}
dm()
{
}
display()
{
}
void main()
{
printf("\n1. Insert from start");
printf("\n2. Insert from end");
printf("\n3. Insert from middle");
printf("\n4. Delete from start");
printf("\n5. Delete from end");
printf("\n6. Delete from middle");
printf("\n7. Display");
printf("\n8. Exit");
while(1)
{
printf("\nEnter Your choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
is();
break;
}
case 2:
{
ie();
break;
}
case 3:
{
im();
break;
}
case 4:
{
ds();
break;
}
case 5:
{
de();
break;
}
case 6:
{
dm();
break;
}
case 7:
{
display();
break;
}
case 8:
{
exit(0);
}
default:
{
printf("Wrong Input");
}
}
}
getch();
} | 2 558 |
| 13 | struct node
{
int data;
struct node *next;
};
struct node *start=0;
struct node *cn()
{
struct node *d1;
d1=(struct node *)malloc(sizeof(struct node));
printf("Enter a data:");
scanf("%d",&d1->data);
d1->next=0;
return d1;
}
void is()
{
struct node *h1;
h1=cn();
if(start==0)
{
start=h1;
}
else
{
h1->next=start;
start=h1;
}
}
void ie()
{
struct node *t1,*h1;
t1=cn();
if(start==0)
{
start=t1;
}
else
{
h1=start;
while(h1->next!=0)
{
h1=h1->next;
}
h1->next=t1;
}
}
im()
{
}
void ds()
{
struct node *s1;
if(start==0)
{
printf("There is no any node to delete");
}
else
{
s1=start;
start=start->next;
s1->next=0;
free(s1);
}
}
void de()
{
struct node *ptr1,*ptr8;
if(start==0)
{
printf("There is no any node to delete");
}
else
{
ptr1=start;
while(ptr1->next->next!=0)
{
ptr1=ptr1->next;
}
ptr8=ptr1->next;
ptr1->next=0;
free(ptr8);
printf("Node deleted successfully");
}
}
dm()
{
}
void display()
{
struct node *p1;
if(start==0)
{
printf("There is no any node to display");
}
else
{
p1=start;
while(p1!=0)
{
printf("%d ",p1->data);
p1=p1->next;
}
}
}
void main()
{
int ch;
printf("\n1. Insert from start.");
printf("\n2. Insert from end");
printf("\n3. Insert from middle");
printf("\n4. Delete from start");
printf("\n5. Delete from end");
printf("\n6. Delete from middle");
printf("\n7. Display");
printf("\n8. Exit");
while(1)
{
printf("\nEnter your choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
is();
break;
}
case 2:
{
ie();
break;
}
case 3:
{
im();
break;
}
case 4:
{
ds();
break;
}
case 5:
{
de();
break;
}
case 6:
{
dm();
break;
}
case 7:
{
display();
break;
}
case 8:
{
exit(0);
}
default:
{
printf("Wrong Input.");
}
}
}
getch();
} | 2 195 |
| 14 | struct node
{
int data;
struct node *next;
};
struct node *start=0;
struct node *createNode()
{
struct node *p1;
p1=(struct node *)malloc(sizeof(struct node));
printf("Enter a data:");
scanf("%d",&p1->data);
p1->next=0;
return p1;
}
insertStart()
{
struct node *k1;
k1=createNode();
if(start==0)
{
start=k1;
}
else
{
k1->next=start;
start=k1;
}
}
insertEnd()
{
}
insertMiddle()
{
}
deleteStart()
{
struct node *i1;
if(start==0)
{
printf("There is no any node to delete");
}
else
{
i1=start;
start=start->next;
i1->next=0;
free(i1);
printf("Node deleted successfully");
}
}
deleteEnd()
{
}
deleteMiddle()
{
}
display()
{
struct node *h1;
if(start==0)
{
printf("There is no any node to display");
}
else
{
h1=start;
while(h1!=0)
{
printf("%d ",h1->data);
h1=h1->next;
}
}
}
void main()
{
int ch;
printf("\n1. Insert from start");
printf("\n2. Insert from End");
printf("\n3. Insert from Middle");
printf("\n4. Delete from start");
printf("\n5. Delete from end");
printf("\n6. Delete from middle");
printf("\n7. Display");
printf("\n8. Exit");
while(1)
{
printf("\n\nEnter your choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
{
insertStart();
break;
}
case 2:
{
insertEnd();
break;
}
case 3:
{
insertMiddle();
break;
}
case 4:
{
deleteStart();
break;
}
case 5:
{
deleteEnd();
break;
}
case 6:
{
deleteMiddle();
break;
}
case 7:
{
display();
break;
}
case 8:
{
exit(0);
}
default:
{
printf("Wrong Input");
}
}
}
getch();
} | 2 186 |
| 15 | 没有文字... | 3 409 |
| 16 | 没有文字... | 3 136 |
| 17 | https://www.youtube.com/live/R6CNrpVPRqg?si=dc9Yu6EcH4NOZeDO | 3 468 |
| 18 | %d vs %i difference | VS Code Setup | Nested for loop | in C | 3 960 |
| 19 | 没有文字... | 3 877 |
| 20 | https://youtube.com/playlist?list=PLZlEBHEeC6tXuF4N6QwgkI0rAL4esMNDO&si=88ff5fhRBO1qCK2Y
This is the playlist of Python Free batch.
No need to Join any free batch. | 4 120 |
