redcican / Python-Exercise

A personal repo for enhancement the skills of Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python-Javascript-Challenge

Awesome

A personal repo for enhancement the skills of Python. Stars mean Difficulty of the challenges.

  • Challenge 1 ⭐

    Find the first index of a sub string out of a source string

  • Challenge 2 ⭐

    Find the longest word of a sentence

  • Challenge 3 ⭐

    Check the type of array

  • Challenge 4 ⭐

    Check a number is a prime number or not

  • Challenge 5 ⭐

    Capitalize the first letter of a sentence.

  • Challenge 6 ⭐

    Find out whether or not a string or object hast unique value.

  • Challenge 7 ⭐⭐

    Check if all the numbers summed up are equal to a largest number that we have in an array

  • Challenge 8 ⭐⭐

    Dynamic filter the unique value of an Array

  • Challenge 9 ⭐

    Find first word with greatest number of repeated letter

  • Challenge 10 ⭐

    Find the second value of an array

  • Challenge 11 ⭐⭐

    Return number with most repeats, if two numbers the repeated the same return first if none repeated return -1

  • Challenge 12 ⭐

    Reverse a string by using different methods

  • Challenge 13 ⭐

    Factorialze a number and return the result

  • Challenge 14 ⭐

    Check a given string is a palindrome or not

  • Challenge 15 ⭐

    Find the largest number of a two-dimensions array

  • Challenge 16 ⭐

    Confirm the ending of a string and compares it to the target string

  • Challenge 17 ⭐

    Using different methods to repeat a string

  • Challenge 18 ⭐

    Truncate a string if it is longer than the given maximum string length. Return the truncated string with a ... ending. However, if the given maximum string length num is less than or equal to 3, then the addition of the three dots does not add to the string length in determining the truncated string.

  • Challenge 19 ⭐

    Write a function that splits an array (first auguments) into groups the length
    of size (second argument) and return them as a two-dimensional array.

  • Challenge 20 ⭐

    Return the remaining elements of an array after chopping off n elements from the head.

  • Challenge 21 ⭐⭐

    Count repeating letters, string will not contain numbers or submols only letters.

  • Challenge 22 ⭐

    Mutations: return true if the first element of the array contains all of the letters of the string in the second element of the array.

  • Challenge 23 ⭐

    Remove all flasy values from an array.

  • Challenge 24 ⭐⭐

    Be provided with an initial array (the first argument in the destroyer function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments.

  • Challenge 25 ⭐⭐⭐ LeetCode -> 001

    Given an array of integers, return indices of the two numbers such that they add up to a specific target. the first index should smaller than second

  • Challenge 26 ⭐

    Return the lowest index at which a value should be inserted into an array once it has been sorted. The returned value should be a number.

  • Challenge 27 ⭐

    One of the simplest and most widely known ciphers is Caesar cipher, also known as shift cipher. In a shift cipher the meanings of the letters are shifted by some set amoutn. A common modern use is the ROT13 cipher, where the values of the letters are shifted by 13 places. Thus A<->N, B<->Oand so on. Reference: ASCII-Table

  • Challenge 28 ⭐

    We will pass an array of two numbers. Return the sum of those two numbers and all numbers between them. The lowest number will not always come first.

  • Challenge 29 ⭐

    Compare two arrays and return a new array with any items only found in one of the two given arrays, but not both. In other words, return the symmetric difference of the two arrays.

  • Challenge 30 ⭐⭐

    Convert the given number into a romon numeral. All roman numerals answers should be provided in upper-case.

About

A personal repo for enhancement the skills of Python.


Languages

Language:JavaScript 53.0%Language:Python 45.4%Language:JavaScript 1.5%