https://www.hackerrank.com/challenges/sorting-array-of-strings/problem 1 int flag = 1; 2 int distinct_characters(const char* a); 3 4 int lexicographic_sort(const char* a, const char* b) { 5 6 if(strcmp(a, b) > 0){ 7 flag = 0; 8 }else flag = 1; 9 10 return flag; 11 ...
1818-maximum-score-from-removing-substrings Time: 57 ms (80.81%) | Memory: 45.6 MB (62.63%) - LeetSync Jul 12, 2024 1878-check-if-array-is-sorted-and-rotated Time: 0 ms (100.00%) | Memory: 39.9 MB (81.89%) - LeetSync Sep 4, 2023 ...