Posts

Showing posts from May, 2020

Angular

Angular  ---------------------------------------------- Angular is a js framework that allows you to create reactive single-page-applications (SPAs). Gives the user a very reactive user experience.User feels like a mobile  application while using interms of reactive response. If you need data from server , load it in the background so that user will experience the reactive way of use. Every click i do in the page is loaded in the single page in the one html page only and how is it done ? java script changes the DOM(Document Object Model),html during run time and you never see the refresh icon  in the top left because  we only change the currently loaded page. Angular versioning ---------------------------------------- AngularJS(Angular1) | |Complete rewriten | Angular 2 (Angular 3 Skipped) | | Angular 4 . .  new version every 6 months. . Angular 9 Angular CLI (Command Line Interface) -------------------- CLI is the  recomend...

Stack Program Theory

Image
Stack: ------------------------ Source :    https://www.hackerearth.com/practice/data-structures/stacks/basics-of-stacks/tutorial/ source :   https://www.hackerearth.com/practice/data-structures/stacks/basics-of-stacks/tutorial/ Stacks are dynamic data structures that follow the  Last In First Out (LIFO)  principle. The last item to be inserted into a stack is the first one to be deleted from it. For example, you have a stack of trays on a table. The tray at the top of the stack is the first item to be moved if you require a tray from that stack. Inserting and deleting elements Stacks have restrictions on the insertion and deletion of elements. Elements can be inserted or deleted only from one end of the stack i.e. from the  t o p . The element at the top is called the  t o p  element. The operations of inserting and deleting elements are called  p u s h ( )  and  p o p ( )  respectively. When...