- Download Instant Client:
 
- instantclient-basic-macos.x64-11.2.0.4.0.zip
 - instantclient-sdk-macos.x64-11.2.0.4.0.zip
 - instantclient-sqlplus-macos.x64-11.2.0.4.0.zip
 
- 
Unzip and move to /opt
 - 
Create symlink
 
| /** | |
| * Solution 1 | |
| * Time Complexity : O(n) where n is the length of the string | |
| * Space Complexity : O(1) | |
| * @param input | |
| * @return boolean | |
| */ | |
| public static boolean checkSingularity1(String input) { | |
| if(input.length() > 256) { | |
| return false; | 
| /** | |
| * Solution 1 | |
| * @param str1 | |
| * @param str2 | |
| * @return boolean | |
| */ | |
| public static boolean findIfStringsArePermutationOfEachOther(String str1, String str2) { | |
| if(str1.length() != str2.length()) { | |
| return false; | |
| } | 
| public static String replaceSpaces(String input) { | |
| char[] inputChars = input.toCharArray(); | |
| StringBuilder stringBuilder = new StringBuilder(input); | |
| for(int i = 0; i < inputChars.length; i++) { | |
| if(inputChars[i] == ' ') { | |
| stringBuilder.append("%20"); | |
| } else { | |
| stringBuilder.append(inputChars[i]); | |
| } | |
| stringBuilder.deleteCharAt(stringBuilder.length() - i); | 
| /** | |
| * Solution 1 | |
| * Bad Solution | |
| * Time Complexity: 0(p + k2), where p is the size of the original string and k is the number of character sequences | |
| */ | |
| public static String compressBad(String input) { | |
| String output = ""; | |
| int charCount = 0; | |
| char[] charArray = input.toCharArray(); | |
| char temp = input.charAt(0); | 
Unzip and move to /opt
Create symlink
| // | |
| // This script creates a postman.json file from swagger.json which can be imported into postman. | |
| // 1. Replace "YOUR_PROJECT_URL" with real url which points to swagger.json. | |
| // 2. Give permission to run: "chmod +x swagger_json_to_postman_json.sh" | |
| // 3. Execute the script: "./swagger_json_to_postman_json.sh" | |
| // 4. postman.json will be created in the same folder as script. | |
| // | |
| git clone https://github.com/postmanlabs/openapi-to-postman.git | |
| cd openapi-to-postman |