or calling reserve() can be very expensive operations (worst case O(n*n)) because they can – and in realistic scenarios typically do – cause rehashing of all elements
                  
                  
                  
                  
                  
                  В каком случае О(n*n) будет? Если все в один бакет попадёт?
                  
                  
                
Да
Обсуждают сегодня