Given a string,determine if it is compressed of all unique characters. For example, the string 'abcde' has all unique characters…
Given a string in the form 'AAAABBBBCCCCCDDEEEE' compress it to become 'A4B4C5D2E4'. For this problem, you can falsely "compress" strings…
Given an array of integers (positive and negative) find the largest continuous sum.
Consider an array of non-negative integers. A second array is formed by shuffling the elements of the first array and…
Given an integer array, output all the unique pairs that sum up to a specific value k.
Given a string of words, reverse all the words. For example:
Big-O (in its simplest form) reduces the comparison between algorithms to a single variable. That variable is chosen based on…
Write a function to reverse a Linked List in place. The function will take in the head of the list…
Write a function that takes a head node and an integer value n and then returns the nth to last…