| Stored items, array length, tree nodes | n | count | Local sizes are nonnegative; tree bounds state n≥1. |
| Operation counts, individual cost, total work | qj,cj,W | count; steps; steps | Costs exclude unrequested key searches only when a location is supplied. |
| Stack pushes, pops, capacity | P,Q,C | count | P−Q is occupancy; circular array capacity uses its own convention. |
| Catalan number | Cn | count | Ordered binary shapes or unrestricted stack permutations. |
| Expression operands, binary operators | No,Nb | count | Binary operators only. |
| Queue front and next-free rear | f,r | index | One-unused-slot array of length C. |
| Activations, peak live frames, Hanoi moves | A,D,M | count | Include base calls in A,D; moves have base zero. |
| Tree height, node depth, maximum level width | h,d,wt | edges; edges; nodes | Empty subtree height −1; root depth zero. |
| Child-count populations, leaves, internal nodes | n0,n1,n2,L,I | count | ni counts nodes with i children. |
| Full-tree branching factor | b | children/node | At least two; digit-base use also defined locally. |
| Node, children, subtree size, value and sum | v,vL,vR,s(v),k(v),a(v) | node; count; value units | h(v) subtree height; ∅ empty subtree. |
| Cycle prefix and cycle length | μ,λ | links | Floyd pointer traversal. |
| Integer dividend, divisor, quotient, remainder | a,b,q,r | 1 | C division truncates toward zero; use local meanings outside arithmetic. |
| Unsigned value, word width, bit/shift index | u,w,k | 1; bits; count | w is value-bit width in arithmetic; array w below is byte width. |
| Invariant inputs and state | x,y,X,Y,z,a,b | 1 | Division x=qy+r; power XY=zab. |
| Polynomial coefficients, degree, argument, accumulator | aj,d,x,vj | 1 | Numeric program values; Horner order begins with highest-degree coefficient. |
| Affine update constants, state, iterations | a,b,zj,k | 1; count | zj+1=azj+b. |
| Base address, element width | B,w | byte address; bytes/element | Address expressions state contiguous layout. |
| Row/column counts and lower bounds | nr,nc,Lr,Lc,L | count; index | General arrays may have nonzero lower bounds; C uses zero. |
| Dimension count, dimension lengths and indices | d,Ns,ir,j,k | count; index | k also zero-based packed offset, locally specified. |
| Prefix sum, range endpoints, number of subarrays | Pi,l,r,Nsub | value units; index; count | Nonempty contiguous subarrays. |
| Rooted BST, subtrees, left size and insertion orders | T,TL,TR,ℓ,W(T) | tree; count | Distinct keys; W(T) differs from total work W. |
| Range-query output count | k | keys | O(h+k+1) reporting time. |
| AVL balance, minimum size, Fibonacci numbers | bf,N(h),Fj | count | Balance is left height minus right; F0=0,F1=1. |
| Heap count and last-level population | H(n),t | count | t=n−(2h−1); heap left size ℓ. |
| Graph, vertices, edges, sizes, outdegree | G,V,E,nv,ne,deg+(v) | set; count | In this context E is an edge set; expectation is written E[⋅]. |
| Python integer division convention | a,b,q,r | 1 | Same dividend/divisor/quotient/remainder roles; Python uses floor division, unlike C truncation. |