A résolu


Find Rotated Substring
Given a string s1, find if a rotated version of s1 is present in a second string s2. For example, rotated version of some strin...

environ 2 mois il y a

A résolu


Transposition as a CIPHER
This all about transcripting a text message. If the input string is: s1 = 'My name is Sourav Mondal', then the output is: s2 = '...

environ 2 mois il y a

A résolu


Find matching string from a list of strings
Write a function that returns a string that is a unique match (if it exists) of the string inStr from a list of strings strList....

environ 2 mois il y a

A résolu


Do the line-segments intersect?
You are given two line segments. Do they cross? Consider one segment as (x1,y1) to (x2,y2), the other segment as (x3,y3) to (x4...

environ 2 mois il y a

A résolu


TRON strategy toggle
Detect whether your lightcycle is on same side of existing walls as opponents lightcycle. This function is useful in toggling a ...

environ 2 mois il y a

A résolu


Laguerre Polynomials
Create a square lower diagonal matrix containing the first n Laguerre Polynomial coefficients. For n=6, the Laguerre Matrix is: ...

environ 2 mois il y a

A résolu


generate a matrix of Legendre polynomials
input = x - the degree of the polynomial output = matrix of Legendre polynomials

environ 2 mois il y a

A résolu


Fill an array given a sum and array length values
Fill an array with random numbers so that their sum and array length will be equal to the given values as input. Function will g...

environ 2 mois il y a

A résolu


Graph Algorithms 3: Number of Connected Components
Given an adjacency matrix of a simple undirected graph, find the number of connected components.

environ 2 mois il y a

A résolu


The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...

environ 2 mois il y a

A résolu


Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn a...

environ 2 mois il y a

A résolu


Broken Clock
Create a function that outputs t, an inputted matrix time x, in hours and minutes (hr:min) unless the time contains a five. In t...

environ 2 mois il y a

A résolu


No Fives Permitted
Create a function that gives users an custom error message if the matrix A contains a five. The error message should say "No Fiv...

environ 2 mois il y a

A résolu


A Fiveless Factorial
Given a positive integer x, compute its factorial y, but exclude any muliplication by five if applicable.

environ 2 mois il y a

A résolu


Don't Sum a Five
Create a function that sums the first and last element of a muti-element vector unless the value of one of the elements is 5. Do...

environ 2 mois il y a

A résolu


Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).

environ 2 mois il y a

A résolu


Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.

environ 2 mois il y a

A résolu


High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...

environ 2 mois il y a

A résolu


A Five Introduction
Write a function that takes a number x as an input and returns the same value as y, unless x = 5, in which case the function sho...

environ 2 mois il y a

A résolu


find nth even fibonacci number
1st even fibonacci number=2 ; 2nd even fibonacci number=8 ..

2 mois il y a

A résolu


Find the logic and return the nth number (plus)
This problem is the harder version of Problem 61015 given a sequence of numbers arranged in the following order: A=0,1,3,4,9,1...

2 mois il y a

A résolu


Find the logic and return the nth number
given a sequence of numbers arranged in the following order: A=0,1,3,4,9,10,12,13,27,28,30,31,36,37,...... Write a function th...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Unlock the Final Chamber by Solving the Ancient Numeric Cipher
You’ve reached the Final Chamber, where a glowing pedestal displays a sequence of numbers. The inscription reads: “Only the su...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Escape the Labyrinth of Logic by Unlocking the Correct Door Sequence
You enter the Labyrinth of Logic, where each door opens only if a secret rule is met. A vector of integers represents door code...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Locate the Hidden Treasure in the Chamber of Coordinates
Inside the Chamber of Coordinates, glowing runes show several coordinate points on a 2D grid. The treasure lies closest to the ...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Cross the River of Ratios by Finding Successive Proportions in the Data Stream
Following the glowing script, you arrive at the River of Ratios — a flowing stream of numbers. A carved message on the rocks re...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Decode the Ancient Script by Removing Strange Symbols from the Message
Emerging from the Maze of Numbers, you find a tablet etched with symbols and letters — an Ancient Script! The message is hidden...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Identify the Hidden Pattern Within the Maze of Numbers
The compass leads you to an underground chamber covered in numbers carved into the walls — a maze of digits that glows in myster...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Fix the Broken Compass by Normalizing Its Angle Readings
Your compass, recovered from the Hidden Cave, spins wildly! The ancient device shows angles that exceed 360° or drop below 0°. T...

2 mois il y a

A résolu


The MATLAB Treasure Hunt – Count Matching Symbols on the Ancient Scroll to Unlock the Next Clue
Inside the Hidden Cave, you discover an ancient scroll filled with strange symbols and markings. A note beside it says: “Count ...

2 mois il y a

Charger plus