Skip to content

This repository includes my solutions for the arcade challenges in CodeSignal. All of them are fully functional. However, any recommendations for optimisation are welcome!

Notifications You must be signed in to change notification settings

GeorgiosEv/CodeSignal-WorkingSolutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Working Solutions for CodeSignal

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.

ARCADE - INTRO

  1. 🟒 Add.py - Add two numbers.
  2. 🟒 centuryFromYear.py - Given a year, return the century it is in.
  3. 🟒 checkPalindrome.py - Given the string, check if it is a palindrome.
  4. 🟒 adjacentElementsProduct.py - Given an array of integers, find the pair of adjacent elements that has the largest product and return that product.
  5. 🟒 shapeArea.py - An n-interesting polygon has been defined. Your task is to find the area of a polygon for a given n.
  6. 🟒 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.
  7. 🟒 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.
  8. 🟒 matrixElementsSum - Return total sum of matrix elements for rectangular matrix of integers.
  9. 🟒 allLongestStrings.py - Given an array of strings, return another array containing all of its longest strings.
  10. 🟒 commonCharacterCount.py - Given two strings, find the number of common characters between them.
  11. 🟒 isLucky.py - Given a ticket number n, determine if it's lucky or not.
  12. 🟒 sortByHeight.py - Your task is to rearrange the people by their heights in a non-descending order
  13. 🟒 reverseInParentheses.py - Write a function that reverses characters in (possibly nested) parentheses in the input string.
  14. 🟒 alternatingSums.py - Return an array of two integers, the weight totals of Team 1 & Team 2.
  15. πŸ”΄ addBorder.py
  16. πŸ”΄ areSimilar.py
  17. πŸ”΄ arrayChange.py
  18. πŸ”΄ palindromeRearranging.py
  19. πŸ”΄ areEquallyStrong.py
  20. πŸ”΄ arrayMaximalAdjacentDifference.py
  21. πŸ”΄ isIPv4Address.py
  22. πŸ”΄ avoidObstacles.py
  23. πŸ”΄ boxBlur.py
  24. πŸ”΄ minesweeper.py
  25. πŸ”΄ arrayReplace.py
  26. πŸ”΄ evenDigitsOnly.py
  27. πŸ”΄ variableName.py
  28. πŸ”΄ alphabeticShift.py
  29. πŸ”΄ chessBoardCellColor.py
  30. πŸ”΄ circleOfNumbers.py
  31. πŸ”΄ depositProfit.py
  32. πŸ”΄ absoluteValuesSumMinimization.py
  33. πŸ”΄ stringsRearrangement.py
  34. πŸ”΄ extractEachKth.py
  35. πŸ”΄ firstDigit.py
  36. πŸ”΄ differentSymbolsNaive.py
  37. πŸ”΄ arrayMaxConsecutiveSum.py
  38. πŸ”΄ growingPlant.py
  39. πŸ”΄ knapsackLight.py
  40. πŸ”΄ longestDigitsPrefix.py
  41. πŸ”΄ digitDegree.py
  42. πŸ”΄ bishopAndPawn.py
  43. πŸ”΄ isBeautifulString.py
  44. πŸ”΄ findEmailDomain.py
  45. πŸ”΄ buildPalindrome.py
  46. πŸ”΄ electionWinners.py
  47. πŸ”΄ isMAC48Address.py
  48. πŸ”΄ isDigit.py
  49. πŸ”΄ lineEncoding.py
  50. πŸ”΄ chessKnight.py
  51. πŸ”΄ deleteDigit.py
  52. πŸ”΄ longestWord.py
  53. πŸ”΄ validTime.py
  54. πŸ”΄ sumUpNumbers.py
  55. πŸ”΄ differentSquares.py
  56. πŸ”΄ digitsProduct.py
  57. πŸ”΄ fileNaming.py
  58. πŸ”΄ messageFromBinaryCode.py
  59. πŸ”΄ spiralNumbers.py
  60. πŸ”΄ Sudoku.py

About

This repository includes my solutions for the arcade challenges in CodeSignal. All of them are fully functional. However, any recommendations for optimisation are welcome!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages