- Hands-On Data Structures and Algorithms with JavaScript
- Kashyap Mukkamala
- 102字
- 2021-06-30 19:12:07
API
This is the tricky part, as it is very hard to predict ahead of time what kinds of method your application will require. Therefore, it's usually a good idea to start off with whatever is the norm and then make changes as your applications demand. Going by that, you would end up with an API that looks something like this:
- Push: Pushes an item to the top of the stack
- Pop: Removes an item from the top of the stack
- Peek: Shows the last item pushed into the stack
- Clear: Empties the stack
- Size: Gets the current size of the stack

推薦閱讀
- 現代C++編程:從入門到實踐
- FreeSWITCH 1.8
- 移動UI設計(微課版)
- 軟件界面交互設計基礎
- MongoDB for Java Developers
- Responsive Web Design with HTML5 and CSS3
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- SharePoint Development with the SharePoint Framework
- Android開發:從0到1 (清華開發者書庫)
- C++寶典
- Developing SSRS Reports for Dynamics AX
- Cocos2d-x Game Development Blueprints
- Windows Phone 8 Game Development
- Java EE Web應用開發基礎
- Arduino機器人系統設計及開發