gram news
Аватар канала Programming Challenges

Programming Challenges

@prograchallenges

I will make you the best Programmer you can be! Group of the best friends you can have: https://t.me/joinchat/EXSmZ0dDYKpcZWcLQQH-zw Challenge ideas: @BinaryByter Youtube: https://www.youtube.com

15,270подписчиков

Открыть канал

Последние посты

  • Channel name was changed to «Programming Challenges»

    13 апр. 2025 г., 08:51

  • Programming Challenges

    13 апр. 2025 г., 08:48

    Palindrome Checker with WildcardTime: 45 minutes Difficulty: Easy/Medium Languages: Any==================== Given a string that may contain lowercase English letters and a special wildcard character '', implement a function that determines if the string is a palindrome. The wildcard character '' can match any single character.For example: - "racecar" is a palindrome. - "rcecar" is a palindrome ('' matches 'a'). - "rcecr" is a palindrome (both '' match 'a'). - "hello" is not a palindrome. - "hllo" is not a palindrome (no single character can make it a palindrome). - "a" is a palindrome ('' matches 'a'). - "" is a palindrome ('' matches itself or any single character).Write a function is_wildcard_palindrome(text: str) -> bool that returns True if the string is a palindrome considering the wildcard, and False otherwise.
    15,900281331Открыть в Telegram
  • Programming Challenges

    18 янв. 2024 г., 15:04

    https://t.me/prograchallenges?boostHey everybody, please help by boosting this channel 🥰
    TelegramProgramming ChallengesBoost this channel to help it unlock additional features.
    34,0002541Открыть в Telegram
  • Programming Challenges

    17 авг. 2023 г., 11:02

    FOURIER TRANSFORM +========+ Time: 1 hour Difficulty: Medium Languages: Any +========+ Given a sequence of complex numbers, implement a function that performs a Fourier transform on the sequence using the Fast Fourier Transform algorithm +========+ Please answer to this message with your solution 🙂
    42,5003094211Открыть в Telegram
  • Programming Challenges

    15 авг. 2023 г., 11:03

    A SEARCH +========+ Time: 2 hours - 3 hours Difficulty: Hard Languages: Any +========+ Given a graph represented by an adjacency matrix and a starting and goal vertex, implement a function that finds the shortest path from the starting vertex to the goal vertex using A search algorithm +========+ Please answer to this message with your solution 🙂
    35,9001052Открыть в Telegram
  • Programming Challenges

    13 авг. 2023 г., 10:54

    BINARY SEARCH +========+ Time: 30 minutes Difficulty: Easy Languages: Any +========+ Given a sorted list of integers, implement a function that performs a binary search on the list and returns the index of the element if found or -1 if not found +========+ Please answer to this message with your solution 🙂
    30,4001332Открыть в Telegram
  • Programming Challenges

    11 авг. 2023 г., 10:53

    K-MEANS CLUSTERING +========+ Time: 2 hours - 3 hours Difficulty: Hard Languages: Any +========+ Given a set of points in two-dimensional space, implement a function that performs k-means clustering on the set, using the Lloyd's algorithm +========+ Please answer to this message with your solution 🙂
    24,500521Открыть в Telegram
  • Programming Challenges

    9 авг. 2023 г., 10:53

    HEAP SORT +========+ Time: 1 hour Difficulty: Medium Languages: Any +========+ Given a list of integers, implement a function that performs a heap sort on the list +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    7 авг. 2023 г., 10:53

    FIBONACCI SEQUENCE +========+ Time: 30 minutes Difficulty: Easy Languages: Any +========+ Given a number n, implement a function that returns the nth number in the Fibonacci sequence using recursion +========+ Please answer to this message with your solution 🙂
    18,5007421Открыть в Telegram
  • Programming Challenges

    5 авг. 2023 г., 10:52

    TOWER OF HANOI +========+ Time: 30 minutes Difficulty: Easy Languages: Any +========+ Given a tower of n discs stacked in decreasing order of size and 3 pegs, implement a function that solves the tower of Hanoi puzzle by moving the discs from the first peg to the last peg with the help of the middle peg. +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    3 авг. 2023 г., 10:52

    Dijkstra's Shortest Path +========+ Time: 2 hours - 3 hours Difficulty: Hard Languages: Any +========+ Given a directed graph represented by an adjacency matrix and a source vertex, implement a function that finds the shortest path from the source vertex to all other vertices using Dijkstra's shortest path algorithm +========+ Please answer to this message with your solution 🙂
    14,000421Открыть в Telegram
  • Programming Challenges

    1 авг. 2023 г., 10:52

    QUICKSORT +========+ Time: 1 hour Difficulty: Medium Languages: Any +========+ Given a list of integers, implement a function that performs a quicksort on the list +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    30 июл. 2023 г., 10:52

    BUBBLE SORT +========+ Time: 30 minutes Difficulty: Easy Languages: Any +========+ Given a list of integers, implement a function that performs a bubble sort on the list +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    28 июл. 2023 г., 10:51

    HUFFMAN CODING +========+ Time: 30 minutes - 1 hour Difficulty: Medium Languages: Any +========+ Given a string of characters, implement a function that performs Huffman coding on the string to compress it. +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    26 июл. 2023 г., 10:51

    GRADIENT DESCENT +========+ Time: 1 hour - 2 hours Difficulty: Hard Languages: Any +========+ Given a set of data points and a cost function, implement a function that finds the minimum of the cost function using gradient descent algorithm. +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    24 июл. 2023 г., 10:51

    DEPTH-FIRST SEARCH +========+ Time: 2 hours - 3 hours Difficulty: Hard Languages: Any +========+ Given a graph represented by an adjacency list, implement a function that performs a depth-first search of the graph, and returns a list of the visited nodes. +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    22 июл. 2023 г., 10:51

    BFS +========+ Time: 30 minutes - 1 hour Difficulty: Medium Languages: Any +========+ Given a graph represented by an adjacency list and a starting vertex, implement a function that performs a breadth-first search of the graph and returns a list of the visited nodes +========+ Please answer to this message with your solution 🙂
    11,900111Открыть в Telegram
  • Programming Challenges

    20 июл. 2023 г., 10:49

    PRIM'S ALGORITHM +========+ Time: 1 hour - 2 hours Difficulty: Hard Languages: Any +========+ Given an undirected graph represented by an adjacency matrix, implement a function that finds the minimum spanning tree using the Prim's algorithm +========+ Please answer to this message with your solution 🙂
  • Programming Challenges

    18 июл. 2023 г., 10:49

    GREEDY ALGORITHM +========+ Time: 30 minutes - 1 hour Difficulty: Medium Languages: Any +========+ Given a set of items, each with a value and a weight, and a knapsack with a maximum weight capacity, implement a function that finds the maximum value that can be placed in the knapsack using a greedy algorithm. +========+ Please answer to this message with your solution 🙂
    12,200221Открыть в Telegram
  • Programming Challenges

    14 июл. 2023 г., 10:49

    BELLMAN-FORD +========+ Time: 2 hours - 3 hours Difficulty: Hard Languages: Any +========+ Given a directed graph represented by an adjacency matrix and a source vertex, implement a function that finds the shortest path from the source vertex to all other vertices using the Bellman-Ford algorithm. +========+ Please answer to this message with your solution 🙂
    10,100111Открыть в Telegram