NeetCode #491LC-77MediumBacktrackingNC 250
← Back to All Problems

#491 · #77 · Combinations(组合)

📌 Problem Statement & Constraints

Given two integers n and k, return all possible combinations of k numbers chosen from the range 1..n. Constraints: 1 <= n <= 20, 1 <= k <= n.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!