A résolu


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

plus de 2 ans il y a

A résolu


Valid Chess Moves
Using standard Algebraic notation ('' for a pawn), given previous move and a next move, output true if it is a valid move or fal...

plus de 2 ans il y a

A résolu


Count the peaceful queens
In a 5x5 chessboard with a queen of one color (white, say) on the perimeter, one can place 12 black queens on the board such tha...

plus de 2 ans il y a

A résolu


Tax Season ! How much is my salary?
Tax Season! I was employed for a period from x until y in a year and I get pay check of amount z on every alternate Friday of th...

plus de 2 ans il y a

A résolu


Create a Cell array of month-end date strings within a date range
This is a variation of <http://www.mathworks.com/matlabcentral/cody/problems/1039-get-an-array-of-month-ends-in-a-date-range Get...

plus de 2 ans il y a

A résolu


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

plus de 2 ans il y a

A résolu


Is this date a palindrome?emordnilap a etad siht sI
Take a MATLAB date number as input, and return true if the date is a palindrome, false if the date is not a palindrome. A date ...

plus de 2 ans il y a

A résolu


What day is it?
Tell me what day is it. Return the full name of the day of the week as a string. e.g. It's June 12th 2014, so your function s...

plus de 2 ans il y a

A résolu


Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

plus de 2 ans il y a

A résolu


birthday on same day of week
Say, Mr. X's birthday is on 20th July, 2014. It was Sunday. Determine the closest year when his birthday will again be on Sunday...

plus de 2 ans il y a

A résolu


How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...

plus de 2 ans il y a

A résolu


weekday and month
Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find. Exam...

plus de 2 ans il y a

A résolu


microseconds passed today
Calculate the amount of microseconds passed for a given date string. Return the value, rounded to the nearest integer, as a stri...

plus de 2 ans il y a

A résolu


calculate the day of the year from a date string.
'09-Oct-2016' is the 283rd day of the year. So doy = dayoftheyear('09-Oct-2016') should return doy = 283

plus de 2 ans il y a

A résolu


Find my birthday
Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what ag...

plus de 2 ans il y a

A résolu


Get an array of month-ends in a date range
Create a function that would return a list of month-ends falling in a given date range. If a start date or end date falls on a...

plus de 2 ans il y a

A résolu


Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

plus de 2 ans il y a

A résolu


Radiation Heat Transfer — View Factors (1)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

plus de 2 ans il y a

A résolu


Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...

plus de 2 ans il y a

A résolu


Make a diamond
Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond. No toolbox funct...

plus de 2 ans il y a

A résolu


Find the Pattern 5

plus de 2 ans il y a

A résolu


Find the Pattern 10

plus de 2 ans il y a

A résolu


Find the Pattern 9

plus de 2 ans il y a

A résolu


Find the Pattern 8

plus de 2 ans il y a

A résolu


Find the Pattern 7

plus de 2 ans il y a

A résolu


Find the Pattern 6

plus de 2 ans il y a

A résolu


Find the Pattern 4

plus de 2 ans il y a

A résolu


Find the Pattern 3

plus de 2 ans il y a

A résolu


Find the Pattern 2

plus de 2 ans il y a

A résolu


Find the Pattern 1

plus de 2 ans il y a

Charger plus