Skip to content

Commit

Permalink
Add number reference to dailycodingproblem exercises
Browse files Browse the repository at this point in the history
  • Loading branch information
ermanh committed Jul 6, 2020
1 parent 5a2542e commit af6c429
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 20200603_product_list.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
2020-06-03
[from www.dailycodingproblem.com]
[from www.dailycodingproblem.com #2]
Given an array of integers, return a new array such that each element at index
i of the new array is the product of all the numbers in the original array
Expand Down
2 changes: 1 addition & 1 deletion 20200609_nonadjacent_largest_sum.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

'''
2020-06-09
[from dailycodingproblems.com]
[from dailycodingproblems.com #9]
Given a list of integers, write a function that returns the largest sum of
non-adjacent numbers. Numbers can be 0 or negative.
Expand Down
2 changes: 1 addition & 1 deletion 20200617_subdirectories.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
2020-06-17
[from www.dailycodingproblem.com]
[from www.dailycodingproblem.com #17]
Suppose we represent our file system by a string in the following manner:
The string "dir\n\tsubdir1\n\tsubdir2\n\t\tfile.ext" represents:
Expand Down
2 changes: 1 addition & 1 deletion 20200618_deserialization.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
2020-06-18
[from www.dailycodingproblem.com]
[from www.dailycodingproblem.com #3]
Given the root to a binary tree, implement serialize(root), which serializes
the tree into a string, and deserialize(s), which deserializes the string back
Expand Down
2 changes: 1 addition & 1 deletion 20200701_edit_distance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
2020-07-01
[from dailycodingproblem.com]
[from dailycodingproblem.com #31]
The edit distance between two strings refers to the minimum number of
character insertions, deletions, and substitutions required to change one
Expand Down
2 changes: 1 addition & 1 deletion 20200702_water_trapment.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
2020-07-02
[from dailycodingproblem.com]
[from dailycodingproblem.com #30]
You are given an array of non-negative integers that represents a
two-dimensional elevation map where each element is unit-width wall and the
Expand Down
2 changes: 1 addition & 1 deletion 20200705_rgb_sort.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
2020-07-05
[from dailycodingproblem.com]
[from dailycodingproblem.com #35]
Given an array of strictly the characters 'R', 'G', and 'B', segregate the
values of the array so that all the Rs come first, the Gs come second, and the
Expand Down
2 changes: 1 addition & 1 deletion 20200706_balanced_brackets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
2020-07-06
[from dailycodingproblem.com]
[from dailycodingproblem.com #27]
Given a string of round, curly, and square open and closing brackets, return
whether the brackets are balanced (well-formed).
Expand Down
2 changes: 1 addition & 1 deletion WORK_IN_PROGRESS_mini_regex.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'''
[WORK IN PROGRESS - NOT COMPLETED YET]
[from www.dailycodingproblem.com]
[from www.dailycodingproblem.com #25]
Implement regular expression matching with the following special characters:
Expand Down

0 comments on commit af6c429

Please sign in to comment.