Skip to content

Instantly share code, notes, and snippets.

View Jubix-pixel's full-sized avatar
💭
Studying

Jubix Jubix-pixel

💭
Studying
View GitHub Profile
@priyadarshitathagat
priyadarshitathagat / Stack.c
Created October 6, 2016 15:34
Stack using Double linked list
#include <stdio.h>
#include<stdlib.h>
struct node
{
int val;
struct node *left;
struct node *right;
};
struct node* getnode( )
@shreyanshi2228
shreyanshi2228 / stack_implementation_using_doubly_linkedlist.c
Last active October 8, 2022 05:00
I have implemented stack using doubly linked list in C.
#include <stdio.h>
#include <stdlib.h>
struct node
{
int data;
struct node* next;
struct node* prev;
} *top;
class User:
"""A class that checks about a user."""
def __init__(self, first_name, last_name, age, job, sex):
"""Attributes of the user."""
self.first_name = first_name
self.last_name = last_name
self.age = age
self.job = job
self.sex = sex