Stop wasting time on mindless work and learn the patterns

Day 7 Problem

Hello and welcome back brave human being,

You are given an array and an integer.

In one operation, you can pick two numbers from the array whose sum equals k and remove them from the array.

Return the maximum number of operations you can perform on the array.

Remember: LeetCode problem a day keeps unemployment away!

Cheers to your success,

Denisse

Need motivation to be consistent?

Add this problem to your log and when the challenge is done send it to me! You’ll be in for a treat.

Reply

or to participate.