Filter
Exclude
Time range
-
Near
Day 6 Today, I focused on revisiting key concepts in SQL: 1. Joining multiple tables. 2. ⁠UNION: Union selects only distinct values. 3. ⁠UNION ALL: It includes duplicate values. 4. ⁠UNION with WHERE. 5. ⁠STRING Function: LENGTH, UPPER, LOWER, TRIM. 6. Substring. Consistency beats intensity. Small daily effort compounds into big results. πŸ“Œ
Day 5. Today in SQL: Practice more dataset questions on GROUP BY, HAVING, INNER JOIN, RIGHT JOIN, and LEFT JOIN. Every query that returns an error brings me one step closer to mastery. Consistency is greater than perfection. πŸ“Œ
1
5
67
Day 31/90 πŸš€ Solved LC 2130 and LC 3 today. Learned how reversing part of a linked list can simplify a problem and how the Sliding Window pattern efficiently handles substring problems. #100DaysOfCode #DSA #LeetCode
2
20
One thing to do Sunday: search your approval code for substring operations or CSS ellipsis. If you find it between the user input and the approve button, that's your vulnerability. Fix it before someone finds it for you.
11
Check approval views for .substring(, [:100], text-overflow: ellipsis in CSS. If the approver can't see the full command, you have the same bug. Render it all, or reject it as too long.
1
11
Day 9 - 10 Progress πŸš€ Studied React: - Color Picker, Updater function, Updating Objects, Arrays and Array of Objects in State Solved 2 LeetCode Problems - 74. Search a 2d Matrix - 395. Longest Substring with atleast K repeating Char. #React #Java #DSA #LeetCode
3
9
83
Day 8 – #SDESheetChallenge βœ… πŸ“š Topic: Arrays - IV βœ… DAY - 8 Completed!! βœ”οΈ Largest Subarray with K sum βœ”οΈ Count subarrays with given xor K βœ”οΈLongest Substring Without Repeating Characters @takeUforward_ #StriversSheet #DSA #Arrays #ProblemSolving #45DaysOfCode #takeUforward
1
Day 13 βœ… Solved: Rotate String Approach: First thought of the brute-force way by checking all possible rotations. Then used the optimized trick: if goal is a substring of s s, then the rotation is valid. Simple but elegant. πŸš€ #LeetCode #DSA #Strings #Java #CodingJourney
2
17
#SDESheetChallenge @striver_79 Day 8: longest substring with unique elem solved using hash for tracking elem and shift right pointer to right of duplicate elem result in time complextiy of O(N)
DSA session done today πŸ’ͺ πŸ”Ή Longest Substring Without Repeating Characters πŸ”Ή Search in Rotated Sorted Array πŸ”Ή Median of Two Sorted Arrays πŸ”Ή Binary Tree Max Path Sum πŸ”Ή Task Scheduler Median of Two Sorted Arrays was the toughest. O(log n) hurts🧠 Have you solved this one?
1
17
Master SQL SQL MASTER TREE β”‚ β”œβ”€β”€ 1. Database Fundamentals β”‚ β”œβ”€β”€ What is DB / DBMS / RDBMS β”‚ β”œβ”€β”€ Tables, Rows, Columns β”‚ β”œβ”€β”€ Primary Key β”‚ β”œβ”€β”€ Foreign Key β”‚ β”œβ”€β”€ Candidate Key β”‚ β”œβ”€β”€ Composite Key β”‚ β”œβ”€β”€ Constraints β”‚ β”‚ β”œβ”€β”€ NOT NULL β”‚ β”‚ β”œβ”€β”€ UNIQUE β”‚ β”‚ β”œβ”€β”€ PRIMARY KEY β”‚ β”‚ β”œβ”€β”€ FOREIGN KEY β”‚ β”‚ β”œβ”€β”€ CHECK β”‚ β”‚ └── DEFAULT β”‚ └── Data Integrity β”‚ β”œβ”€β”€ 2. SQL Data Types β”‚ β”œβ”€β”€ Numeric β”‚ β”‚ β”œβ”€β”€ INT β”‚ β”‚ β”œβ”€β”€ BIGINT β”‚ β”‚ β”œβ”€β”€ DECIMAL β”‚ β”‚ └── FLOAT β”‚ β”œβ”€β”€ String β”‚ β”‚ β”œβ”€β”€ CHAR β”‚ β”‚ β”œβ”€β”€ VARCHAR β”‚ β”‚ └── TEXT β”‚ β”œβ”€β”€ Date & Time β”‚ β”‚ β”œβ”€β”€ DATE β”‚ β”‚ β”œβ”€β”€ TIME β”‚ β”‚ β”œβ”€β”€ DATETIME β”‚ β”‚ └── TIMESTAMP β”‚ └── Boolean / Binary β”‚ β”œβ”€β”€ 3. DDL (Data Definition Language) β”‚ β”œβ”€β”€ CREATE β”‚ β”‚ β”œβ”€β”€ DATABASE β”‚ β”‚ β”œβ”€β”€ TABLE β”‚ β”‚ └── INDEX β”‚ β”œβ”€β”€ ALTER β”‚ β”‚ β”œβ”€β”€ ADD COLUMN β”‚ β”‚ β”œβ”€β”€ MODIFY COLUMN β”‚ β”‚ └── DROP COLUMN β”‚ β”œβ”€β”€ DROP β”‚ β”‚ β”œβ”€β”€ DATABASE β”‚ β”‚ └── TABLE β”‚ └── TRUNCATE β”‚ β”œβ”€β”€ 4. DML (Data Manipulation Language) β”‚ β”œβ”€β”€ INSERT β”‚ β”œβ”€β”€ UPDATE β”‚ β”œβ”€β”€ DELETE β”‚ └── MERGE / UPSERT β”‚ β”œβ”€β”€ 5. DQL (Data Query Language) β”‚ β”œβ”€β”€ SELECT β”‚ β”œβ”€β”€ DISTINCT β”‚ β”œβ”€β”€ WHERE β”‚ β”‚ β”œβ”€β”€ AND β”‚ β”‚ β”œβ”€β”€ OR β”‚ β”‚ └── NOT β”‚ β”œβ”€β”€ ORDER BY β”‚ β”œβ”€β”€ GROUP BY β”‚ β”œβ”€β”€ HAVING β”‚ └── LIMIT / OFFSET β”‚ β”œβ”€β”€ 6. SQL Operators β”‚ β”œβ”€β”€ Arithmetic ( - * /) β”‚ β”œβ”€β”€ Comparison (= != > < >= <=) β”‚ β”œβ”€β”€ Logical (AND OR NOT) β”‚ β”œβ”€β”€ BETWEEN β”‚ β”œβ”€β”€ IN β”‚ β”œβ”€β”€ LIKE β”‚ └── IS NULL β”‚ β”œβ”€β”€ 7. SQL Functions β”‚ β”œβ”€β”€ Aggregate β”‚ β”‚ β”œβ”€β”€ COUNT β”‚ β”‚ β”œβ”€β”€ SUM β”‚ β”‚ β”œβ”€β”€ AVG β”‚ β”‚ β”œβ”€β”€ MIN β”‚ β”‚ └── MAX β”‚ β”œβ”€β”€ String β”‚ β”‚ β”œβ”€β”€ CONCAT β”‚ β”‚ β”œβ”€β”€ SUBSTRING β”‚ β”‚ β”œβ”€β”€ LENGTH β”‚ β”‚ └── TRIM β”‚ β”œβ”€β”€ Numeric β”‚ β”‚ β”œβ”€β”€ ROUND β”‚ β”‚ └── ABS β”‚ └── Date β”‚ β”œβ”€β”€ NOW β”‚ β”œβ”€β”€ DATEADD β”‚ └── DATEDIFF β”‚ β”œβ”€β”€ 8. Joins β”‚ β”œβ”€β”€ INNER JOIN β”‚ β”œβ”€β”€ LEFT JOIN β”‚ β”œβ”€β”€ RIGHT JOIN β”‚ β”œβ”€β”€ FULL JOIN β”‚ β”œβ”€β”€ CROSS JOIN β”‚ └── SELF JOIN β”‚ β”œβ”€β”€ 9. Subqueries β”‚ β”œβ”€β”€ Scalar Subquery β”‚ β”œβ”€β”€ Correlated Subquery β”‚ └── Nested Subquery β”‚ β”œβ”€β”€ 10. Views β”‚ β”œβ”€β”€ CREATE VIEW β”‚ β”œβ”€β”€ UPDATE VIEW β”‚ └── MATERIALIZED VIEW β”‚ β”œβ”€β”€ 11. Indexing β”‚ β”œβ”€β”€ Clustered Index β”‚ β”œβ”€β”€ Non-Clustered Index β”‚ β”œβ”€β”€ Composite Index β”‚ └── Index Optimization β”‚ β”œβ”€β”€ 12. Transactions β”‚ β”œβ”€β”€ BEGIN β”‚ β”œβ”€β”€ COMMIT β”‚ β”œβ”€β”€ ROLLBACK β”‚ └── SAVEPOINT β”‚ β”œβ”€β”€ 13. ACID Properties β”‚ β”œβ”€β”€ Atomicity β”‚ β”œβ”€β”€ Consistency β”‚ β”œβ”€β”€ Isolation β”‚ └── Durability β”‚ β”œβ”€β”€ 14. Normalization β”‚ β”œβ”€β”€ 1NF β”‚ β”œβ”€β”€ 2NF β”‚ β”œβ”€β”€ 3NF β”‚ β”œβ”€β”€ BCNF β”‚ └── Denormalization β”‚ β”œβ”€β”€ 15. Advanced SQL β”‚ β”œβ”€β”€ Stored Procedures β”‚ β”œβ”€β”€ Triggers β”‚ β”œβ”€β”€ CTE (WITH) β”‚ β”œβ”€β”€ Window Functions β”‚ β”‚ β”œβ”€β”€ ROW_NUMBER β”‚ β”‚ β”œβ”€β”€ RANK β”‚ β”‚ β”œβ”€β”€ DENSE_RANK β”‚ β”‚ └── PARTITION BY β”‚ └── Recursive Queries β”‚ β”œβ”€β”€ 16. Performance Optimization β”‚ β”œβ”€β”€ Query Optimization β”‚ β”œβ”€β”€ Execution Plan β”‚ β”œβ”€β”€ Index Tuning β”‚ └── Query Caching β”‚ β”œβ”€β”€ 17. SQL Ecosystem β”‚ β”œβ”€β”€ MySQL β”‚ β”œβ”€β”€ PostgreSQL β”‚ β”œβ”€β”€ SQLite β”‚ β”œβ”€β”€ SQL Server β”‚ └── Oracle DB β”‚ └── 18. Real-World Usage β”œβ”€β”€ Backend APIs β”œβ”€β”€ Data Analytics β”œβ”€β”€ Reporting Systems β”œβ”€β”€ ETL Pipelines └── Data Warehousing
2
2
110
Master SQL SQL MASTER TREE β”‚ β”œβ”€β”€ 1. Database Fundamentals β”‚ β”œβ”€β”€ What is DB / DBMS / RDBMS β”‚ β”œβ”€β”€ Tables, Rows, Columns β”‚ β”œβ”€β”€ Primary Key β”‚ β”œβ”€β”€ Foreign Key β”‚ β”œβ”€β”€ Candidate Key β”‚ β”œβ”€β”€ Composite Key β”‚ β”œβ”€β”€ Constraints β”‚ β”‚ β”œβ”€β”€ NOT NULL β”‚ β”‚ β”œβ”€β”€ UNIQUE β”‚ β”‚ β”œβ”€β”€ PRIMARY KEY β”‚ β”‚ β”œβ”€β”€ FOREIGN KEY β”‚ β”‚ β”œβ”€β”€ CHECK β”‚ β”‚ └── DEFAULT β”‚ └── Data Integrity β”‚ β”œβ”€β”€ 2. SQL Data Types β”‚ β”œβ”€β”€ Numeric β”‚ β”‚ β”œβ”€β”€ INT β”‚ β”‚ β”œβ”€β”€ BIGINT β”‚ β”‚ β”œβ”€β”€ DECIMAL β”‚ β”‚ └── FLOAT β”‚ β”œβ”€β”€ String β”‚ β”‚ β”œβ”€β”€ CHAR β”‚ β”‚ β”œβ”€β”€ VARCHAR β”‚ β”‚ └── TEXT β”‚ β”œβ”€β”€ Date & Time β”‚ β”‚ β”œβ”€β”€ DATE β”‚ β”‚ β”œβ”€β”€ TIME β”‚ β”‚ β”œβ”€β”€ DATETIME β”‚ β”‚ └── TIMESTAMP β”‚ └── Boolean / Binary β”‚ β”œβ”€β”€ 3. DDL (Data Definition Language) β”‚ β”œβ”€β”€ CREATE β”‚ β”‚ β”œβ”€β”€ DATABASE β”‚ β”‚ β”œβ”€β”€ TABLE β”‚ β”‚ └── INDEX β”‚ β”œβ”€β”€ ALTER β”‚ β”‚ β”œβ”€β”€ ADD COLUMN β”‚ β”‚ β”œβ”€β”€ MODIFY COLUMN β”‚ β”‚ └── DROP COLUMN β”‚ β”œβ”€β”€ DROP β”‚ β”‚ β”œβ”€β”€ DATABASE β”‚ β”‚ └── TABLE β”‚ └── TRUNCATE β”‚ β”œβ”€β”€ 4. DML (Data Manipulation Language) β”‚ β”œβ”€β”€ INSERT β”‚ β”œβ”€β”€ UPDATE β”‚ β”œβ”€β”€ DELETE β”‚ └── MERGE / UPSERT β”‚ β”œβ”€β”€ 5. DQL (Data Query Language) β”‚ β”œβ”€β”€ SELECT β”‚ β”œβ”€β”€ DISTINCT β”‚ β”œβ”€β”€ WHERE β”‚ β”‚ β”œβ”€β”€ AND β”‚ β”‚ β”œβ”€β”€ OR β”‚ β”‚ └── NOT β”‚ β”œβ”€β”€ ORDER BY β”‚ β”œβ”€β”€ GROUP BY β”‚ β”œβ”€β”€ HAVING β”‚ └── LIMIT / OFFSET β”‚ β”œβ”€β”€ 6. SQL Operators β”‚ β”œβ”€β”€ Arithmetic ( - * /) β”‚ β”œβ”€β”€ Comparison (= != > < >= <=) β”‚ β”œβ”€β”€ Logical (AND OR NOT) β”‚ β”œβ”€β”€ BETWEEN β”‚ β”œβ”€β”€ IN β”‚ β”œβ”€β”€ LIKE β”‚ └── IS NULL β”‚ β”œβ”€β”€ 7. SQL Functions β”‚ β”œβ”€β”€ Aggregate β”‚ β”‚ β”œβ”€β”€ COUNT β”‚ β”‚ β”œβ”€β”€ SUM β”‚ β”‚ β”œβ”€β”€ AVG β”‚ β”‚ β”œβ”€β”€ MIN β”‚ β”‚ └── MAX β”‚ β”œβ”€β”€ String β”‚ β”‚ β”œβ”€β”€ CONCAT β”‚ β”‚ β”œβ”€β”€ SUBSTRING β”‚ β”‚ β”œβ”€β”€ LENGTH β”‚ β”‚ └── TRIM β”‚ β”œβ”€β”€ Numeric β”‚ β”‚ β”œβ”€β”€ ROUND β”‚ β”‚ └── ABS β”‚ └── Date β”‚ β”œβ”€β”€ NOW β”‚ β”œβ”€β”€ DATEADD β”‚ └── DATEDIFF β”‚ β”œβ”€β”€ 8. Joins β”‚ β”œβ”€β”€ INNER JOIN β”‚ β”œβ”€β”€ LEFT JOIN β”‚ β”œβ”€β”€ RIGHT JOIN β”‚ β”œβ”€β”€ FULL JOIN β”‚ β”œβ”€β”€ CROSS JOIN β”‚ └── SELF JOIN β”‚ β”œβ”€β”€ 9. Subqueries β”‚ β”œβ”€β”€ Scalar Subquery β”‚ β”œβ”€β”€ Correlated Subquery β”‚ └── Nested Subquery β”‚ β”œβ”€β”€ 10. Views β”‚ β”œβ”€β”€ CREATE VIEW β”‚ β”œβ”€β”€ UPDATE VIEW β”‚ └── MATERIALIZED VIEW β”‚ β”œβ”€β”€ 11. Indexing β”‚ β”œβ”€β”€ Clustered Index β”‚ β”œβ”€β”€ Non-Clustered Index β”‚ β”œβ”€β”€ Composite Index β”‚ └── Index Optimization β”‚ β”œβ”€β”€ 12. Transactions β”‚ β”œβ”€β”€ BEGIN β”‚ β”œβ”€β”€ COMMIT β”‚ β”œβ”€β”€ ROLLBACK β”‚ └── SAVEPOINT β”‚ β”œβ”€β”€ 13. ACID Properties β”‚ β”œβ”€β”€ Atomicity β”‚ β”œβ”€β”€ Consistency β”‚ β”œβ”€β”€ Isolation β”‚ └── Durability β”‚ β”œβ”€β”€ 14. Normalization β”‚ β”œβ”€β”€ 1NF β”‚ β”œβ”€β”€ 2NF β”‚ β”œβ”€β”€ 3NF β”‚ β”œβ”€β”€ BCNF β”‚ └── Denormalization β”‚ β”œβ”€β”€ 15. Advanced SQL β”‚ β”œβ”€β”€ Stored Procedures β”‚ β”œβ”€β”€ Triggers β”‚ β”œβ”€β”€ CTE (WITH) β”‚ β”œβ”€β”€ Window Functions β”‚ β”‚ β”œβ”€β”€ ROW_NUMBER β”‚ β”‚ β”œβ”€β”€ RANK β”‚ β”‚ β”œβ”€β”€ DENSE_RANK β”‚ β”‚ └── PARTITION BY β”‚ └── Recursive Queries β”‚ β”œβ”€β”€ 16. Performance Optimization β”‚ β”œβ”€β”€ Query Optimization β”‚ β”œβ”€β”€ Execution Plan β”‚ β”œβ”€β”€ Index Tuning β”‚ └── Query Caching β”‚ β”œβ”€β”€ 17. SQL Ecosystem β”‚ β”œβ”€β”€ MySQL β”‚ β”œβ”€β”€ PostgreSQL β”‚ β”œβ”€β”€ SQLite β”‚ β”œβ”€β”€ SQL Server β”‚ └── Oracle DB β”‚ └── 18. Real-World Usage β”œβ”€β”€ Backend APIs β”œβ”€β”€ Data Analytics β”œβ”€β”€ Reporting Systems β”œβ”€β”€ ETL Pipelines └── Data Warehousing
5
36
125
3,286
this is a list of 3285 substring domains and packs into 171kb of (has to be) json i need to test the trie tree to see if I can trust it to replace the blacklist.some(v => domain.includes(v));
1
53
after speeding up the api blacklist exact domain checks, i spent the day on the substring domain checks hybrid trie lookup Total time: 11255.98 ms Per domain: 11255.98 ns existing lookup Total time: 49565.00 ms Per domain: 49565.00 ns 77% faster - needs testing now
1
69
Day 428 of GFG Challenge: "Check Repeated Substring with K Replacements" Time Complexity: O(n) Space Complexity: O(1) #geekstreak60 #npci #GFGChallenge #geeksforgeeks
1
8
Day 25 of CodeSprint 3.0πŸš€ Solved: β€’ Two Pointers Greedy - Maximum Area Container β€’ Variable Size Sliding Window - Minimum Window Substring Improved two pointers, greedy optimization, sliding window & string processingπŸ’»πŸ”₯ #DSA #CPP #CodeSprint3 #TwoPointers #SlidingWindow
1
23
#Day85 of #100DaysOfCode Today's progress βœ… πŸš€ Solved @geeksforgeeks POTD – Check Repeated Substring with K Replacements using sliding window approach. πŸš€ Solved @LeetCode problem - Backspace String compare using two pointer. #DSA #Consistency
1
23
πŸ—“οΈDay-324 of #365DaysOfCode 🎯 βœ… @geeksforgeeks #POTD: Check Repeated Substring with K Replacements βœ… @LeetCode #DCC: Number of Ways to Assign Edge Weights II #365DaysOfDSA #geeksforgeeks #gfg #leetcode #365DaysOfcoding #Java #DataStructuresAndAlgorithms #DSA
5
36
DAY 4 βœ… Check Repeated Substring with K Replacements βœ… Equal Point in Brackets πŸ“š Topics: Sliding Window | Prefix-Suffix Count ⚑ Consistency Builds Confidence πŸš€
6
Day - 163 GeeksforGeeks - POTD Problem : Check Repeated Substring with K Replacements #gfg #geekstreak2026 #POTD #365daysofcode #coding #POTDwithGFG
1
22
Day 139 : Check Repeated Substring with K Replacements Approach : split string into blocks of size k and count distinct β€” true if 1 distinct block, or 2 distinct where one appears exactly once (replace the lone block) @geeksforgeeks #GFG
26