Feeds
解決済み
A Mathematical Problem
Find the kth digit of the inverse of a number 'n'. Assumption: n>1
約14時間 前
解決済み
Getting Maximum Chocolate
John loves Chocolate but he didn't have money. The owner of "Sweet Chocolate" launches a scheme for free chocolate. He divided a...
約14時間 前
解決済み
Exponent of IEEE Single
Output the exponent bits as a uint8 of the IEEE representation of the single-typed 32-bit float input.
約14時間 前
解決済み
Determining if a Degree Sequence is Potentially a Graph
A degree sequence is a list of numbers representing the degrees of vertices in a graph. While it is difficult to tell if a graph...
約14時間 前
解決済み
Finding valleys
You have a vector of altitudes (units are arbitrary) and need to find the depths of all the valleys. You also need to determine ...
約14時間 前
解決済み
Perimeter of a Koch snowflake
A Koch snowflake is an iteratively generated (fractal) shape built out of successively smaller equilateral triangles by followin...
約14時間 前
解決済み
Exponents in Factorials(hard)
This is problem is a harder version of "Problem 44747. Exponents in Factorials". <https://ww2.mathworks.cn/matlabcentral/cody/p...
約16時間 前
解決済み
Can you Jump?
You have been provided with input array of integers. You start with initial position at the first index of this input array, and...
約17時間 前
解決済み
Convert a cell-array of values to MATLAB source code
The MATLAB interpreter loads your code and executes it using the Read-Evaluate-Print-Loop (see REPL). In this problem you will ...
約17時間 前
解決済み
D'Hondt Method of Proportional-Representation
The D'Hondt method is a proportional representational method for allocating seats to parties in an election. <https://en.wiki...
約17時間 前
解決済み
IQpuzzler Preparation #2: Detect isolated zeros in a 2D matrix
Return true if any isolated single zeros are present in the input M-by-N matrix (zeros with all adjacent elements being non-zero...
約18時間 前
解決済み
Word with Highest Frequency
Write a MATLAB function that takes in a string and returns the word with the highest frequency in the string. The function shoul...
約19時間 前
解決済み
That's not my hat!
There exists a highly secretive hat consortium. Members possess identical hats. The members are invited to a meeting. All of the...
約19時間 前
解決済み
Generate Hadamard Matrix without using hadamard function
In mathematics, a Hadamard matrix, named after the French mathematician Jacques Hadamard, is a square matrix whose entries are e...
約19時間 前
解決済み
Carmichael Number
Car michael number is a composite number which satisfy following relation: for all integers which are coprime to . ...
1日 前
解決済み
Given a base n, find the y values less or equal than 100(without 1), such that they will never produce a periodic number if we divide any whole number between some of them
A periodic number depends on the base b where we are working. So, for example the number 2/3 in decimal base is periodic(0.666...
1日 前
解決済み
Project Euler: Problem 14 Longest Collatz sequence
This problem is a hard version of "Problem 42673. Longest Collatz Sequence", because of time limits. <https://ww2.mathworks.cn/...
1日 前
解決済み
All Humans are Created Equal - Pareto Equality
One way or the other two sets of identical types can come out ahead of the other by idea of Pareto equality. Pareto equality bet...
1日 前
解決済み
Spiraling out of control....
Imagine a square with corners at the origin and at (1,1). An interesting spiral can be created by tracing the path of a moving ...
1日 前
解決済み
Possible Opponents Matrix for single-elimination tournament
It's tournament time! Given a single-elimination tournament with 2^N competitors, compute the 2^N by 2^N matrix M such that M...
1日 前
解決済み
Caesar Cipher
Given a input word x and a shift n, encrypt the word with caesar cipher of shift n.
1日 前
解決済み
Find all the indices when a value repetition occurs
Find all the sequences of consecutive repeated numbers in a numeric array, returning the indices where each sequence starts and ...
1日 前
解決済み
Just another norm problem (JANP)
*Task:* Implement a function that takes a square matrix A and returns a nonzero vector yc which minimizes ...
1日 前











