C# linq solution
\npublic class Solution {\n    public int[] MaxSubsequence(int[] nums, int k)\n    {\n        return nums\n        .Select((n, i) => new { Number = n, Index = i
```\npublic class Solution {\n    public int[] MaxSubsequence(int[] nums, int k)\n    {\n        return nums\n        .Select((n, i) => new { Number = n, Index = i })\n        .ToList()\n        .OrderByDescending(n => n.Number)\n        .Take(k)\n        .OrderBy(n => n.Index)\n        .Select(n => n.Number)\n        .ToArray();\n    }\n}\n```\n
['Greedy']