create new tag
view all tags

LeetCode Exercise 2

Due: September 8, 11:55pm

The goal of this assignment is to develop skill in solving problems in the LeetCode environment.

Two person teams will be assigned for this assignment. You should work together collaboratively, but should each turn in a solution to Moodle.


Problem 1 (moderate)

Solve 376. Wiggle Subsequence using a greedy algorithm

  • 100% for solution that functions correctly
Problem 2 (hard)

Solve 321. Create Maximum Number using a greedy algorithm

  • 120% for solution that functions correctly
Turn in:
  1. Source code for your solution
  2. Samples runs showing the operation with input and outputs.
Be prepared to discuss you solutions in class.

-- TWiki Admin User - 2016-08-14


Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2016-09-12 - JimSkon
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback