'Algorithm/LeetCode' 카테고리의 글 목록
		
		
		
    
		
		
		
		
	
                
                
                
                
                
                
                
	                                                
                
                
                
		
		
			
				
				
					
				
				
				
				
				
				
					
					
					
						
						
							
							
								
							
							
							
							
							
								
								
							
							
							
								
								
									
								
								        
            
	
		
	
	
		
			- 
				
					
					
						
					
						
							 1464. Maximum Product of Two Elements in an Array [배열, 정렬, Heap (Priority Queue)]
					
						설명 정수들의 배열이 주어지면, 당신은 배열의 서로 다른 두 지수 i와 j를 선택할 것이다. (nums[i]-1)*(nums[j]-1)의 최대값을 반환하라.  https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/입력, 출력Example 1:Input: nums = [3,4,5,2]Output: 12 Explanation: If you choose the indices i=1 and j=2 (indexed from 0), you will get the maximum value, that is, (nums[1]-1)*(nums[2]-1) = (4-1)*(5-1) = 3*4 = 12. Example 2:Input: nums = [..
					
					
						Algorithm/LeetCode
						2024. 8. 16. 1464. Maximum Product of Two Elements in an Array [배열, 정렬, Heap (Priority Queue)]
					
						설명 정수들의 배열이 주어지면, 당신은 배열의 서로 다른 두 지수 i와 j를 선택할 것이다. (nums[i]-1)*(nums[j]-1)의 최대값을 반환하라.  https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/입력, 출력Example 1:Input: nums = [3,4,5,2]Output: 12 Explanation: If you choose the indices i=1 and j=2 (indexed from 0), you will get the maximum value, that is, (nums[1]-1)*(nums[2]-1) = (4-1)*(5-1) = 3*4 = 12. Example 2:Input: nums = [..
					
					
						Algorithm/LeetCode
						2024. 8. 16.
 
							
							
							
								
							
							
							
								💲 추천 글
								
									
									
									
								
							
							
								
							
						
					 
				
				
			 
			
			
			
			
			
			
			
			
			
			