Gelöst


Cat, Meowcat and Concatenation
Input is a cell array containing several strings. Find the largest continuous sub-string common to all strings. All strings are ...

12 Monate vor

Gelöst


longest common semi-substring
Finding longest common substring is a common problem in string processing. This problem is a variant of that. Two strings are g...

12 Monate vor

Gelöst


Reverse within string
If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and sec...

12 Monate vor

Gelöst


Count the days
Count the occurrence of a particular day (e.g. Monday) for a given duration.

12 Monate vor

Gelöst


leap year
find the number of leap years within the given time interval

12 Monate vor

Gelöst


How long until the weekend?
Write a function a that takes a date vector as an input and returns the number of hours until the weekend begins. The beginning...

12 Monate vor

Gelöst


The End of the World
given a date -- represent it in the Maya long count system. <https://en.wikipedia.org/wiki/Maya_calendar> <https://maya.nm...

12 Monate vor

Gelöst


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

12 Monate vor

Gelöst


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...

12 Monate vor

Gelöst


nanoseconds passed today
Calculate the amount of nanoseconds passed in the current day of a certain date string.

12 Monate vor

Gelöst


Given a number between 1-365 (a day number in a non leap year) , find what day of what month it is.
For a given number between 1-365 (a day number in a non leap year), you should check which day of which month it is. for exampl...

12 Monate vor

Gelöst


Leap Year
According to Gregorian Calender(which is in use now, in many countries),decide whether a given year is a leap year or not. Give...

12 Monate vor

Gelöst


Day counter function
Write a function called day_counter that returns the number of Mondays that fell on the first day of the month in a given year b...

12 Monate vor

Gelöst


Friday or not
I love Friday. Please tell me whether the day is Friday. Dateformat is 'yyyy-mm-dd' or 'dd-mmm-yyyy' or 'mm/dd/yyyy'. Exa...

12 Monate vor

Gelöst


Datetime basics
Generate the datetime scalar representing the current date

12 Monate vor

Gelöst


Can't wait for NewYear ball drop !
Given an input string of the form 'yyyy-mm-dd' or 'yyyy-mm-dd hh:mm:ss', return a string message indicating how many days, hours...

12 Monate vor

Gelöst


String Logic 17
Examples: 'DIG' --> 'GDI' 'IMPORTANT' --> 'TANTIMPOR' 'DEAL' --> 'EALD' 'LIMB' --> 'IMBL' 'MOSTLY' --> 'YMOSTL'

12 Monate vor

Gelöst


String Logic 14
Examples: 'DIG' --> 'HRN' 'KIMBALL' --> 'VRZDBXX' 'DEAL' --> 'HJBX' 'LIMB' --> 'XRZD' 'MADE' --> 'ZBHJ' 'CHEF' --> 'FPJL'

12 Monate vor

Gelöst


Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...

12 Monate vor

Gelöst


String Logic 9
Examples: 'CAT' --> 'C' 'DOG' --> 'G' 'ROSLY' --> 'R' 'PROBLEM' --> 'M' 'TRUST' --> 'T' 'BASIC' --> 'C' 'GIANT' --> 'I'...

12 Monate vor

Gelöst


String Logic 6
Examples: 'CAT' --> 216 'DOG' --> 218 'ROSY' --> 333 'MATLAB' --> 433 'TRUST' --> 418 'MOSTLY' --> 488

12 Monate vor

Gelöst


String Logic 19
Examples: 'DIG' --> 'I' 'IMPORTANT' --> 'MOTN' 'DEAL' --> 'EL' 'LIMB' --> 'IB' 'MOSTLY' --> 'OTY'

12 Monate vor

Gelöst


String Logic 2
Example: ROSY --> HEIO TRUST --> JHKIJ MOSTLY --> CEIJBO

12 Monate vor

Gelöst


String Logic 7
Examples: 'CAT' --> 84 'DOG' --> 79 'ROSY' --> 89 'MATLAB' --> 84 'TRUST' --> 85 'MOSTLY' --> 89

12 Monate vor

Gelöst


Remove Upper Case Letters
Example Matlab --> atlab proBlem --> prolem Enter --> nter

12 Monate vor

Gelöst


String Logic 15
Examples: 'CAT' --> 'XZG' 'DOG' --> 'WLT' 'ROSY' --> 'ILHB' 'MOSTLY' --> 'NLHGOB'

12 Monate vor

Gelöst


Remove Lower Case Letters
Example MEMOry --> MEMO IMPlEMeNtATiON --> IMPEMNATON

12 Monate vor

Gelöst


String Logic 12
Examples: 'CAT' --> 'ACT' 'DOG' --> 'DGO' 'ROSY' --> 'ORSY' 'MOSTLY' --> 'LMOSTY'

12 Monate vor

Gelöst


String Logic 10
Examples: 'SUNDAY' --> 83 'MONDAY' --> 77 'TUESDAY' --> 84 'WEDNESDAY' --> 87 'THURSDAY' --> 84 'FRIDAY' --> 70 'SATURD...

12 Monate vor

Gelöst


String Logic 8
Example: 'CAT' --> 65 'DOG' --> 68 'ROSY' --> 79 'MATLAB' --> 65 'TRUST' --> 82 'MOSTLY' --> 76

12 Monate vor

Mehr laden