<commit_before>#include <stdio.h>
#include <stdlib.h>
typedef struct Node{
	int val;
	struct Node *next;
}Node;

Node* Push(Node *p, int val){
	Node *temp = (struct Node*)malloc(sizeof(struct Node));
	temp->val = val;
	temp->next = p;
	p = temp;
	return p;
}

void Pop(Node *p){
	if(p == NULL)
		return;
	printf("%p\n",p);
	Node *temp = p;
	p = p->next;
	printf("%p\n",p);
	free(temp);
	printf("%p\n",temp);
}

void PRINT(Node *p){
	Node *temp = p;
	while(temp != NULL){
		printf("%d ",temp->val);
		temp = 	temp->next;
	}
	printf("\n");
}

int main(){
	Node *head = NULL;
	head = Push(head,3);
	head = Push(head,6);
	head = Push(head,2);<commit_msg>Implement stack with single linked list<commit_after>#include <stdio.h>
#include <stdlib.h>
typedef struct Node{
	int val;
	struct Node *next;
}Node;

Node* Push(Node *p, int val){
	Node *temp = (struct Node*)malloc(sizeof(struct Node));
	temp->val = val;
	temp->next = p;
	p = temp;
	return p;
}

Node* Pop(Node *p){
	if(p == NULL)
		return;
	Node *temp = p;
	p = p->next;
	free(temp);
	return p;
}

void PRINT(Node *p){
	Node *temp = p;
	while(temp != NULL){
		printf("%d ",temp->val);
		temp = 	temp->next;
	}
	printf("\n");
}

int main(){
	Node *head = NULL;
	head = Push(head,3);
	head = Push(head,6);
	head = Push(head,2);
{'fraction_non_alphanumeric': 0.20657276995305165, 'fraction_numerical': 0.004694835680751174, 'mean_word_length': 3.881679389312977, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4365571', 'n_tokens_mistral': 560, 'n_tokens_neox': 538, 'n_words': 143}