Skip to content

Instantly share code, notes, and snippets.

View TongBaoTran's full-sized avatar

Bao Tran Tong TongBaoTran

View GitHub Profile
print("Pairs that sum to 5:")
for i in range(1, 6):
for j in range(1, 6):
if i + j == 5:
print("(", i, ",", j, ")")
#include<stdio.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
};
struct node *root=NULL;