System.out.println();Selected indices before insert: 3 4 5 Selected indices after insert: 3 4 5 6 7 8
因此,最初的选择是3-5,当插入新索引时,它被扩展到3-8。但是已经选择了3-5,所以真正的变化只有6-8,那么为什么事件告诉我3-8的范围已经改变了?特别是,这个before参数对我来说是个谜,因为它
如果我有6的索引位置,我只想得到第一句话:Dana's places, we're having people coming to us people wanna buy condos.如果我有80的索引位置,我只想得到第二句话:They want to move quickly and we're just losing out on a lot of great places.
我所挣扎的是如何实现一个计数器,该计数器将在数组中的索引处存储每一个整数的出现。我目前的想法是将每个数字与添加的3-8进行比较,并分别增加计数数组。我主要缺乏理解的是如何增加数组的特定索引。compare the random numbers added
je inc_3 ; current thought is it cmp to each num 3-