SunJet LiuRobot Bounded In CircleOn an infinite plane, a robot initially stands at (0, 0) and faces north. The robot can receive one of three instructions:Aug 2, 2021Aug 2, 2021

SunJet LiuAlgorithm Practice: Squares of a Sorted ArrayGiven an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order.Jul 17, 2021Jul 17, 2021

SunJet LiuTriplet Sum to ZeroGiven an array of unsorted numbers, find all unique triplets in it that add up to zero.Jul 11, 2021Jul 11, 2021

SunJet LiuSimple String Sort Function/* Simple String Sort Function Given two arguments, a string of characters (input) and a sort string (sortStr), implement a simple sort…Jul 6, 2021Jul 6, 2021

SunJet LiuLongest Substring with Repeating Letters after ReplacementProblem StatementJun 21, 2021Jun 21, 2021

SunJet Liulinked list valuesWrite a function, linkedListValues, that takes in the head of a linked list as an argument. The function should return an array containing…Jun 14, 2021Jun 14, 2021

SunJet LiuMaximum SubarrayGiven an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.Jun 7, 2021Jun 7, 2021

SunJet LiuintersectionWrite a function, intersection, that takes in two arrays, a,b, as arguments. The function should return a new array containing elements…May 31, 2021May 31, 2021