algo/object-c/08_stack/LinkedStack.h

20 lines
327 B
C
Raw Normal View History

//
// LinkedStack.h
// algo
//
// Created by Wenru Dong on 2018/10/8.
// Copyright © 2018年 Wenru Dong. All rights reserved.
//
// Stack based upon linked list
// 基于链表实现的栈
#import <Foundation/Foundation.h>
@interface LinkedStack : NSObject
- (BOOL)isEmpty;
- (void)push:(int)value;
- (int)pop;
@end