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