user avatar
user avatar
user avatar
Maclean Pinto
  • Member for 3 years, 6 months
  • Last seen more than a month ago
12 votes
2 answers
4k views

Given the mapping a = 1, b = 2, ... z = 26, and an encoded message, count the number of ways it can be decoded

8 votes
2 answers
2k views

Concatenate words in such a way as to obtain the longest possible sub-string of the same letter

5 votes
1 answer
6k views

Implement a job scheduler which takes in a function f and an integer n, and calls f after n milliseconds

4 votes
2 answers
2k views

Given a query string s and a set of all possible query strings, return all strings in the set that have s as a prefix

3 votes
1 answer
1k views

Counting subtrees where all nodes have the same value

3 votes
1 answer
2k views

Family Relationship Tree

2 votes
2 answers
2k views

Given a list of numbers and a number k, return whether any two numbers from the list add up to k

2 votes
1 answer
578 views

First missing positive integer in linear time and constant space

2 votes
2 answers
2k views

Given a list of integers, write a function that returns the largest sum of non-adjacent numbers? Numbers can be 0 or negative

1 vote
1 answer
114 views

Products excluding each element of the array

1 vote
1 answer
594 views

Return the number of unique ways you can climb the staircase

1 vote
2 answers
2k views

Given an integer k and a string s, find the length of the longest substring that contains at most k distinct characters

0 votes
1 answer
50 views

Stopping a running thread