Given a list of numbers and a number k, return whether any two numbers from the list add up to k

后端 未结 0 1509
独厮守ぢ
独厮守ぢ 2020-12-23 07:38

This question was asked in the Google programming interview. I thought of two approaches for the same:

  1. Find all the subsequences of length. While doing so c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题