Community Profile

photo

Ajai Kannan


Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Assignment question based on excel file I/O
Write a function called get_distance that accepts two character vector inputs representing the names of two cities. The function...

etwa 5 Jahre vor | 7 Antworten | 1

7

Antworten

Frage


Cesar cypher with wrap around for characters
My question is as follows: Write a function called caesar that accepts two arguments: the first is the character vector to be ...

etwa 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
In other words, if v is [1 2 3 4 5 4 3 2 1] and n is 3, it will find 4 5 and 4 because their sum of 13 is the largest of any 3 c...

etwa 5 Jahre vor | 38 Antworten | 0

38

Antworten