OS practice: Banker's algorithm with 6 solved problems, safe sequences and deadlock detection: https://techvaniai.blogspot.com/2026/10/bankers-algorithm-and-deadlock-6-solved.html
Blogspot
Banker's Algorithm and Deadlock: 6 Solved Problems with Safe Sequences
Six solved Banker algorithm problems: Need matrix, safe sequence, resource requests, deadlock detection and minimum resources.
DBMS practice: BCNF vs 3NF with 6 solved problems on decomposition and dependency preservation: https://techvaniai.blogspot.com/2026/10/bcnf-vs-3nf-6-solved-problems-on.html
Blogspot
BCNF vs 3NF: 6 Solved Problems on Decomposition and Dependency Preservation
Six solved DBMS problems: BCNF vs 3NF checks, BCNF decomposition, 3NF synthesis, lossless join and dependency preservation.
CN practice: TCP and sliding window with 6 solved problems on utilization and congestion control: https://techvaniai.blogspot.com/2026/10/tcp-and-sliding-window-numericals-6.html
Blogspot
TCP and Sliding Window Numericals: 6 Solved Problems on Utilization and Congestion Control
Six solved networks problems: stop-and-wait utilization, window size, TCP slow start and congestion window, RTT timeout and ACK numbers.
DSA practice: time complexity with 6 solved loop and recurrence problems, including the Master theorem: https://techvaniai.blogspot.com/2026/10/time-complexity-questions-6-solved-loop.html
Blogspot
Time Complexity Questions: 6 Solved Loop and Recurrence Problems with Master Theorem
Six solved time complexity problems: nested loops, halving loops, Master theorem recurrences and growth rate order, with self-tests.
COA practice: cache memory with 6 solved problems on address bits, hit ratio, AMAT and a hit-miss trace https://techvaniai.blogspot.com/2026/10/cache-memory-numericals-6-solved.html
Blogspot
Cache Memory Numericals: 6 Solved Problems on Address Bits, Hit Ratio and AMAT
Six solved cache memory problems: address bits, tag index offset, hit ratio, AMAT and a hit-miss trace, with checked answers.
Compiler Design practice: FIRST and FOLLOW with 6 solved problems and LL(1) parsing tables https://techvaniai.blogspot.com/2026/10/compiler-design-first-follow-ll1-solved.html
Blogspot
Compiler Design FIRST and FOLLOW: 6 Solved Problems with LL(1) Parsing Tables
Six solved Compiler Design problems: FIRST and FOLLOW sets, LL(1) parsing table, a step-by-step parse and a conflict example, with checked answers.
DSA Episode 2: linear, sentinel and binary search plus bubble, selection and insertion sort with traced examples https://techvaniai.blogspot.com/2026/10/dsa-02-searching-bubble-selection-insertion-sort.html
Blogspot
DSA in 30 Days, Episode 2: Searching and Basic Sorting with Traced Examples
DSA Episode 2: linear, sentinel and binary search, plus bubble, selection and insertion sort with traced examples and practice.
DSA Episode 3: merge sort, quick sort, counting sort and radix sort with traced examples and counted comparisons https://techvaniai.blogspot.com/2026/10/dsa-03-merge-quick-counting-radix-sort.html
Blogspot
DSA in 30 Days, Episode 3: Merge Sort, Quick Sort, Counting and Radix Sort
DSA Episode 3: merge sort, quick sort, counting sort and radix sort with traced examples, counted comparisons and practice questions.
Postfix trap: 20 5 / 3 - = 1. Pop the right operand first, then the left: 20/5 = 4, then 4-3 = 1. DSA Ep4 has tested stack and circular-queue traces plus practice answers: https://techvaniai.blogspot.com/2026/10/dsa-04-stack-postfix-evaluation-circular-queue.html
Blogspot
DSA in 30 Days, Episode 4: Stacks, Postfix Evaluation and Circular Queues
Learn stack and queue rules, postfix operand order and circular queue wraparound through tested traces, Python code and practice answers.
BST deletion trap: deleting 40 from keys 40,20,60,10,30,50,70 uses successor 50, not 60. Inorder afterward is 10,20,30,50,60,70. DSA Ep6: trees, BST, AVL and LCA. Tested code and practice: https://techvaniai.blogspot.com/2026/10/dsa-06-trees-bst-avl-rotations-lca.html
Blogspot
DSA in 30 Days, Episode 6: Trees, BST Operations, AVL Rotations and LCA
Learn tree traversals, BST insertion and deletion, AVL rotations and lowest common ancestors with tested Python code and solved practice answers.
Heap trap: [5,10,30,20,15] is a valid min-heap, not a sorted array. Removing 5 gives [10,15,30,20]. DSA Ep7 covers heaps, priority queues and hash collisions with tested code and practice: https://techvaniai.blogspot.com/2026/10/dsa-in-30-days-episode-7-heaps-priority.html
Blogspot
DSA in 30 Days, Episode 7: Heaps, Priority Queues, Hashing and Collisions
Learn min-heaps, priority queues, hash collisions, chaining, linear probing and load factor with tested Python code and solved practice.
Graph trap: BFS finds the fewest edges, not the cheapest weighted route. DSA Ep8 covers BFS, DFS, Dijkstra, MST and topological sorting with tested traces and practice: https://techvaniai.blogspot.com/2026/10/dsa-in-30-days-episode-8-graphs-bfs-dfs.html
Blogspot
DSA in 30 Days, Episode 8: Graphs, BFS, DFS, Dijkstra, MST and Topological Sort
Learn graph representations, BFS, DFS, Dijkstra, minimum spanning trees and topological sorting with tested Python traces and solved practice.
Coin-change trap: with coins 1,3,4 and amount6, greedy picks4+1+1 (3coins), but3+3 needs2. DSA Ep9 explains greedy vs dynamic programming with tested code and practice: https://techvaniai.blogspot.com/2026/10/dsa-in-30-days-episode-9-greedy-and.html
Blogspot
DSA in 30 Days, Episode 9: Greedy and Dynamic Programming with Tested Examples
Greedy vs dynamic programming with tested activity selection, coin change, memoization, tabulation and 0/1 knapsack examples and exam answers.
Backtracking trap: saving path itself keeps one shared list; path.copy() saves each answer before undo. DSA Ep10 has tested subsets, permutations, N-Queens and the final revision sheet:https://techvaniai.blogspot.com/2026/10/dsa-in-30-days-episode-10-backtracking-revision.html
Blogspot
DSA in 30 Days, Episode 10: Backtracking, N-Queens and the Final Revision Sheet
Backtracking explained with tested Python subsets, permutations and N-Queens, safe pruning, common bugs and a final DSA revision sheet.
Python exception trap: an error raised in else is not caught by the preceding except. Keep the operation you intend to protect in try, and success-only work in else. Eight tested examples cover handlers, cleanup, return and re-raise, with exact outputs and exam answers: https://techvaniai.blogspot.com/2026/10/python-try-except-else-finally-8-tested.html
Blogspot
Python try except else finally: 8 Tested Examples and Common Mistakes
Learn Python try, except, else and finally with 8 tested examples, exact outputs, a flow diagram and exam answers. Avoid hiding errors in cleanup.
New on YouTube: DSA Episode 3 (about 20 min, Hinglish) covers merge sort, quick sort, counting sort and radix sort with traced examples. Watch: https://youtu.be/KGD8c44ZmmI Notes and Python lab: https://techvaniai.blogspot.com/2026/10/dsa-03-merge-quick-counting-radix-sort.html
YouTube
DSA Episode 3: Merge Sort, Quick Sort, Counting Sort, Radix Sort (Hinglish)
DSA Episode 3 in simple Hinglish: merge sort, quick sort, counting sort and radix sort with traced examples, code ideas, stable vs unstable and exam questions. Built for BTech CSE students.
Full notes, Python code and the test lab for this sorting lesson:…
Full notes, Python code and the test lab for this sorting lesson:…
Python generator trap: sum consumes a generator, so a second sum on the same exhausted object returns 0. Create a fresh generator for another pass. Eight tested examples explain iterators, yield, lazy pipelines and bounded infinite streams, with exact outputs and practice answers: https://techvaniai.blogspot.com/2026/10/python-iterators-generators-yield-lazy-8-tested.html
Blogspot
Python Iterators and Generators: yield, Lazy Evaluation and 8 Tested Examples
Learn Python iterators, yield and lazy generators with 8 tested examples, exact output, exhaustion traps, pipelines and practice questions.
Python groupby trap: A A B A makes three adjacent groups, not two global groups. Sort on the same key only when changing the original order fits your task. Eight tested examples explain groupby, accumulate, pairwise, islice and tee, with exact outputs and practice answers: https://techvaniai.blogspot.com/2026/10/python-itertools-groupby-accumulate-8-tested.html
Blogspot
Python itertools Explained: groupby, accumulate and 8 Tested Examples
Learn Python itertools with 8 tested examples: groupby runs, accumulate totals, pairwise, islice, combinations and tee memory traps. Python 3.10+.
Python sorting trap: values.sort() changes the list but returns None. Use sorted(values) when you need a new list. Eight tested examples explain keys, stable ties, mixed sort directions, missing values and dictionary sorting, with exact outputs and practice answers: https://techvaniai.blogspot.com/2026/10/python-sorted-list-sort-keys-stability-8-tested.html
Blogspot
Python sorted vs list.sort: Keys, Stability and 8 Tested Examples
Learn Python sorted vs list.sort with 8 tested examples, tuple keys, stable tie handling, missing values, dictionary sorting and exam practice.
Python dict/set trap: membership in a dict checks keys, not values. A set removes duplicates but does not guarantee insertion order; dict.fromkeys keeps first appearance. Eight tested examples cover lookup, word counts, set operations, hashable keys and ordering, with exact outputs and practice answers: https://techvaniai.blogspot.com/2026/10/python-dict-vs-set-lookup-deduplication-8-tested.html
Blogspot
Python dict vs set: Lookup, Deduplication and 8 Tested Examples
Learn Python dict vs set with 8 tested examples: key lookup, get, word counts, deduplication, set operations, hashable keys and ordering traps.