Skip to main content

All Questions

3 questions with no upvoted or accepted answers
2 votes
0 answers
733 views

Determine whether there exists a one-to-one character mapping from one string to another

The task Determine whether there exists a one-to-one character mapping from one string s1 to another s2. For example, given s1 = abc and s2 = bcd, return true since we can map a to b, b to c, and c ...
thadeuszlay's user avatar
  • 3,981
2 votes
0 answers
553 views

Implementation of the Minimum Stop Algorithm in Javascript

I started taking the Algorithm design class from Coursera. So into the third week they talk about Greedy algorithms and walks through a sample problem. This is the Problem Statement that I could find ...
Aswin Mohan's user avatar
1 vote
0 answers
350 views

Sort a list using a reverse helper function

The task: Given a list, sort it using this method: reverse(lst, i, j), which reverses lst from ...
thadeuszlay's user avatar
  • 3,981