The folder includes solutions to puzzles and quizzes from the website CodeSignal. https://codesignal.com
NOTE : Codesignal has changed the format of its challenges, hence you will not be able to find these challenges in the current platform.
- π’ : Step-by-step explanation of the solution has been provided, including the description of the exercise.
- π΄ : Step-by-step explanation of the solution has not been provided including the description of the exercise.
- π’ Add.py - Add two numbers.
- π’ centuryFromYear.py - Given a year, return the century it is in.
- π’ checkPalindrome.py - Given the string, check if it is a palindrome.
- π’ adjacentElementsProduct.py - Given an array of integers, find the pair of adjacent elements that has the largest product and return that product.
- π’ shapeArea.py - An n-interesting polygon has been defined. Your task is to find the area of a polygon for a given n.
- π’ makeArrayConsecutive2.py - Arrange an array of statues, from smallest to largest, finding any additional statues that are missing to have a difference of 1 from the previous.
- π’ almostIncreasingSequence.py - Given a sequence of integers as an array, determine whether it is possible to obtain a strictly increasing sequence by removing no more than one element from the array.
- π’ matrixElementsSum - Return total sum of matrix elements for rectangular matrix of integers.
- π’ allLongestStrings.py - Given an array of strings, return another array containing all of its longest strings.
- π’ commonCharacterCount.py - Given two strings, find the number of common characters between them.
- π’ isLucky.py - Given a ticket number n, determine if it's lucky or not.
- π’ sortByHeight.py - Your task is to rearrange the people by their heights in a non-descending order
- π’ reverseInParentheses.py - Write a function that reverses characters in (possibly nested) parentheses in the input string.
- π’ alternatingSums.py - Return an array of two integers, the weight totals of Team 1 & Team 2.
- π΄ addBorder.py
- π΄ areSimilar.py
- π΄ arrayChange.py
- π΄ palindromeRearranging.py
- π΄ areEquallyStrong.py
- π΄ arrayMaximalAdjacentDifference.py
- π΄ isIPv4Address.py
- π΄ avoidObstacles.py
- π΄ boxBlur.py
- π΄ minesweeper.py
- π΄ arrayReplace.py
- π΄ evenDigitsOnly.py
- π΄ variableName.py
- π΄ alphabeticShift.py
- π΄ chessBoardCellColor.py
- π΄ circleOfNumbers.py
- π΄ depositProfit.py
- π΄ absoluteValuesSumMinimization.py
- π΄ stringsRearrangement.py
- π΄ extractEachKth.py
- π΄ firstDigit.py
- π΄ differentSymbolsNaive.py
- π΄ arrayMaxConsecutiveSum.py
- π΄ growingPlant.py
- π΄ knapsackLight.py
- π΄ longestDigitsPrefix.py
- π΄ digitDegree.py
- π΄ bishopAndPawn.py
- π΄ isBeautifulString.py
- π΄ findEmailDomain.py
- π΄ buildPalindrome.py
- π΄ electionWinners.py
- π΄ isMAC48Address.py
- π΄ isDigit.py
- π΄ lineEncoding.py
- π΄ chessKnight.py
- π΄ deleteDigit.py
- π΄ longestWord.py
- π΄ validTime.py
- π΄ sumUpNumbers.py
- π΄ differentSquares.py
- π΄ digitsProduct.py
- π΄ fileNaming.py
- π΄ messageFromBinaryCode.py
- π΄ spiralNumbers.py
- π΄ Sudoku.py