Good software design is simple and intuitive, so there is no need to explain it.
“A man who dares to waste one hour of time has not discovered the value of life.” ― Charles Darwin, The Life & Letters of Charles Darwin
contents
1 1 I was told that there is a service to embed images in Jekyll, so I just try to test it. I paste this image in the Issue editor on GitHub and waiting 3...
Link Hi Hailey, This email confirms your registration for HourStorm #9. The challenge will run from Mar 17, 2019 01:00 AM JST to Mar 17, 2019 02:00 AM JST. Start Practice Regards, Team HackerEarth Note:...
Lesson 1 : Iterations 1.1. For loops 1.2. While loops 1.3. Looping over collections of values Lesson 2 : Arrays 2.1. Creating an array 2.2. Accessing array values 2.3. Modifying array values 2.4. Iterating over...
1 2 3 4 1 class Solution { public: int largestSumAfterKNegations(vector<int>& A, int K) { int N = A.size(); sort(A.begin(), A.end()); int idx = 0; while(K--) { A[idx] = -A[idx]; // next? if(K == 0)...
Reference Basic of Java Data structure of Java Type parameters classes for list ArrayList LinkedList Iterator classes for stack classes for queue classes for Hash table HashMap classes for set additional String StringBuilder StringBuffer StringTokenizer...
StringBuilder example C++ Java StringBuilder example link C++ #include <iostream> #include <string> #include <unordered_set> // C++11 lest unit testing framework #include "lest.hpp" using namespace std; unordered_set<string> getPermutations(const string& inputString) { unordered_set<string> permutations; // base case...
StringBuilder example C++ Java StringBuilder example link C++ class Solution { public: string mostCommonWord(string paragraph, vector<string>& banned) { unordered_set<string> ban(banned.begin(), banned.end()); unordered_map<string, int> count; for(int i = 0; i < paragraph.length(); i++) { if(isalpha(paragraph[i])) paragraph[i]...