Counting
Everything on SkillVeris tagged Counting — collected across the glossary, study notes, blog, and cheat sheets.
7 resources across 2 libraries
Study Notes(3)
Loops in VB.NET
Master repetitive control flow in VB.NET using For...Next, While, Do loops, and For Each, including loop control statements like Exit and Continue.
Heap Sort and Counting Sort
How heap sort uses a binary heap for guaranteed O(n log n) in-place sorting, and how counting sort achieves linear time for bounded integers.
Crosstabs and Pivot Analysis
Use pd.crosstab() to build frequency and cross-tabulation tables between categorical variables, and compare it to pivot_table for richer aggregation.
Interview Questions(4)
How to Solve Permutation and Combination Problems
Permutations count arrangements where order matters (nPr = n!/(n−r)!), while combinations count selections where order does not matter (nCr = n!/(r!(n−r)!)); t…
How to Solve Permutation with Repetition Problems
When items may repeat and each position is filled independently from the same pool of n choices, the count of ordered arrangements of length r is simply n^r, n…
How to Solve Circular Permutation Problems
Arranging n distinct people around a circle gives (n−1)! arrangements rather than n!, because rotating everyone by one seat produces the same relative arrangem…
How to Solve Combinations with Restrictions
Combinations with restrictions — certain items forced in, forced out, or mutually exclusive — are solved by breaking the unrestricted nCr count into smaller in…