Company: Visa_5_feb
Difficulty: medium
Minimum Operations on Neural Network Layers body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; line-height: 1.6; color: #333; max-width: 800px; margin: 20px auto; padding: 0 20px; } h1, h2, h3 { border-bottom: 1px solid #eee; padding-bottom: 10px; } code { background-color: #f4f4f4; padding: 2px 6px; border-radius: 4px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; } pre { background-color: #f4f4f4; padding: 15px; border-radius: 5px; overflow-x: auto; } ul { padding-left: 20px; } li { margin-bottom: 10px; } Minimum Operations on Neural Network Layers You are given a neural network with n layers, where each layer's computation time is stored in the array computationalTime . Developers can perform the following operation: Select any even computation time value c . All layers whose computation time is exactly c will have their time re