python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Find a sequence in a matrix as efficiently as possible
Few requirements.
Before posting your answer please!!
1) Make sure that your function does not give errors with other data, simulate several similar matrices. (turn off the seed)
2) Make sure your fun...
mr.T
Votes: 0
Answers: 6
WSO2 ESB 5.0.0 - How to check API response is in JSON format or not
How to validate the API response is in JSON or in HTML format using outsequence in wso2 ESB 5.0.0
I want to alter the response code if response is in HTML format.
Mak
Votes: 0
Answers: 1
Number of valid sequences that satisfies given constraints
The question is to find number of valid sequences (A1,A2....AN) with given constraints:
Value of Ai lies between 1 and 6 (1<= Ai <= 6)
Two adjacent numbers should be coprime. For e.g. 2,4,.. se...
Tarun
Votes: 0
Answers: 4
Looking for the most profitable range (mathematical names: "maximum subarray problem" or "maximum consecutive subsequence sum")
To be able to find the most profitable range, I add the lowest value I want to the highest value I want, with that I create a table like this example:
https://docs.google.com/spreadsheets/d/17zpapBeC5...
Digital Farmer
Votes: 0
Answers: 1