Maren SliderOn a roll…A recruiter recently told me that their interviewers are looking for candidates to (mostly) complete 2 Medium-level leetcode-style problems…May 30, 2017May 30, 2017
Maren SliderproductExceptSelf.jsYou have an array nums. We determine two functions to perform on nums. In both cases, n is the length of nums:May 25, 20171May 25, 20171
Maren SliderpressingButtons.jsGiven a string of digits, return all of the possible letter combinations that the number could represent. The mapping of digits to letters…May 7, 2017May 7, 2017
Maren SliderrotateImage.jsYou are given an n x n 2D matrix that represents an image. Rotate the image by 90 degrees (clockwise).May 4, 2017May 4, 2017
Maren SliderextremumPermutations.js no .rb no .js no .rb ugh, I’ll revisit this later…Let’s consider a permutation P = {p1, p2, …, pN} of the set of N = {1, 2, 3, …, N} elements .Apr 30, 2017Apr 30, 2017
Maren SliderfindSubstrings.jsYou have two arrays of strings, words and parts. Return an array that contains the strings from words, modified so that any occurrences of…Apr 20, 20171Apr 20, 20171
Maren SliderstringPermutations.jsAvoid using C++’s std::next_permutation or similar features in other languages to solve this challenge. Implement the algorithm yourself…Apr 20, 2017Apr 20, 2017
Maren SliderstringReformatting.jsThe string s contains dashes that split it into groups of characters. You are given an integer k that represents the number of characters…Apr 17, 2017Apr 17, 2017
Maren Sliderstrstr.jsImplement a function that takes two strings, s and x, as arguments and finds the first occurrence of the string x in s. The function should…Apr 17, 2017Apr 17, 2017