Algorithm to print a month's calendar.#560
Algorithm to print a month's calendar.#560ruppysuppy merged 11 commits intoTheAlgorithms:masterfrom raklaptudirm:master
Conversation
Added a dynamic programming algorithm to print out a Month's calendar.
|
#14 Contribution. Added a new algorithm. |
ruppysuppy
left a comment
There was a problem hiding this comment.
Split the one liner conditionals into different lines. In isLeapYear else is not required, you can just use return false
Removed the else but breaking the conditional raises standard js formatting issues. |
Split block of conditionals in separate lines to improve readability
|
@raklaptudirm from next time please open separate PRs for different tasks (you had squashed Kadane's algorithm improvement and the calendar together) |
@ruppysuppy Actually, I ran |
This pull request adds an algorithm to
Dynamic-programmingwhich accepts a month in the format m/y, and prints the month's calendar.Commits before 0f703a5 are unrelated and have been reverted back in 7c3b0ad.
Welcome to JavaScript community
Describe your change:
Checklist:
Example:
UserProfile.jsis allowed butuserprofile.js,Userprofile.js,user-Profile.js,userProfile.jsare notFixes: #{$ISSUE_NO}.