git clone https://gist.github.com/ishu3101/6fb35afd237e42ef25f9
mv 6fb35afd237e42ef25f9 ConvertTo-Markdown
cd ConvertTo-Markdown
#include <stdio.h> | |
#include <malloc.h> | |
typedef struct Node{ | |
int data; | |
int empty; | |
struct Node* next; | |
}node; // nickname :) | |
struct ring_buffer{ |
#include <stdio.h> | |
#include <malloc.h> | |
typedef struct Node{ | |
int data; | |
struct Node* next; | |
}node; // nickname :) | |
void display(node *head) | |
{ |
from boltiot import Email, Sms | |
import requests, json, cred | |
def send_telegram_msg(message, ifprint = False): | |
''' Sends the message using Telegram API\n | |
Return boolean about the success ''' | |
url = "https://api.telegram.org/" + cred.telegram_bot_id + "/sendMessage" | |
data = { | |
'chat_id' : cred.telegram_chat_id, |
/* C Program to remove duplicates from a sorted linked list */ | |
#include<stdio.h> | |
#include<stdlib.h> | |
/* Link list node */ | |
struct Node | |
{ | |
int data; | |
struct Node* next; | |
}; |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct Node{ | |
int data; | |
struct Node *next, *prev; | |
}node; | |
node *createDCLL(int n) | |
{ |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct stack{ | |
int size; | |
char *arr; | |
}stack; | |
stack createStack(stack s) | |
{ |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
char* createBTree(int h) | |
{ | |
char *tree, val, buff; | |
int size = pow(2,h) - 1, p = 0; | |
tree = (char*)malloc(size * sizeof(char)); |
#include <stdio.h> | |
#include <stdio.h> | |
#include <windows.h> | |
int q[20], top = -1, front = -1, rear = -1, a[20][20], vis[20], stack[20]; | |
int dequeue(); | |
void enqueue(int item); | |
void bfs(int s, int n); | |
void dfs(int s, int n); | |
void push(int item); |
#include <stdio.h> | |
#include <malloc.h> | |
int main(int argc, char const *argv[]) | |
{ | |
int n, *len_list, **twoD_arr, *oneD_arr; | |
printf("Enter n: "); | |
scanf("%d", &n); | |
len_list = (int *)calloc(n, sizeof(int)); |