[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"q-437210":3},{"question":4,"library":26},{"id":5,"libraryId":6,"type":7,"typeLabel":8,"stem":9,"options":10,"answer":12,"analysis":25},437210,203,1,"单选题","循环队列用数组A[o…m-1]存放其元素值，已知其头尾指针分别为front和rear，则当前元素个数为()。",[11,15,19,22],{"key":12,"text":13,"correct":14},"A","(rear-front+m)modm",true,{"key":16,"text":17,"correct":18},"B","rear-front+l",false,{"key":20,"text":21,"correct":18},"C","rear-front-1",{"key":23,"text":24,"correct":18},"D","rear-front","循环队列中rear和front分别指向队尾和队头，当rear＞front时，元素的个数为rear-front，根据循环队列的性质，当插入点已经插入到数组A的最后位置且有新的元素插入时，会继续从数组的开始位置执行插入操作，此时rear＜front，数组元素的个数为rear-front+m。综合两种情况，循环队列中当前元素的个数计算方法为：(rear-front+m)modm。",{"id":6,"name":27,"category":28,"favorite":29},"计算机 (电网)","公务员",0]