This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @licstart The following is the entire license notice for the | |
* Javascript code in this page | |
* | |
* Copyright 2020 Mozilla Foundation | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Drop old tables */ | |
drop table works_on; | |
drop table project; | |
drop table employee; | |
drop table dept; | |
/* Create table */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @author: Aditya Patange | |
* | |
* Conversion of infix expression to postfix expression using stack. | |
* -All uppercase and lower case alphabets are treated as operands | |
* -Valid operators: -,+,/,*,^ in increasing order of precedence. | |
* -For now only round brackets are valid. Square and curly braces are invalid. | |
* Example: (A+B+(C+D)) is valid. {A+B+(C+D)} is invalid. | |
* -The following code simply converts a "valid" infix expression to a postfix expression | |
* in order to check validity of an infix expression , an additional subroutine must be added. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @author: Aditya Patange | |
* | |
* Singly Linked list implementation. | |
* In this implementation , I have not used "head" to store data, | |
* it simply points to the first node. | |
* If head is NULL , it means the list is invalid. | |
* | |
* All insertion and deletion subroutines return a success/failure flag | |
* to test the status of the operation. |