Programming

Recommended Tags: Programming, Coding, Developer, Web Development. Just one is enough!


Happy String @ Dcoder

15 Mar 2023 1 minute read 0 comments Lochard

Problem: A happy string is a string in which each character is lexicographically greater than its next character. You are given a positive integer N as an input. You need to print the smallest lexicographical string possible of length N.NOTE: All cha...

Python | Multiple Sudoku Solver

15 Mar 2023 8 minute read 0 comments Casper_x

Python Sudoku Solver: Solving 50 Sudokus in Record Time.     Are you a fan of Sudoku? Discover how a computer program solves 50 Sudoku puzzles in record time! Sudoku is one of the most popular puzzle games in the world, with grids that can sometimes...

Circle of Numbers @ Dcoder

13 Mar 2023 1 minute read 0 comments Lochard

Problem: All numbers in NumberLand are standing in a circle for a dancing ceremony. Every number needs a dancing partner. Dancing partner of any number is the number which is standing radially opposite to it in the circle. The numbers are from 0 to N...

'Random' Library | Python

13 Mar 2023 1 minute read 2 comments Casper_x

How To Use 'Random' Library ?   The 'random' module in Python is a built-in library that allows for the generation of random numbers. Random numbers are widely used in various fields such as simulation, gaming, machine learning, and cryptography. Wit...

1000 views and beyond: how I plan to continue improving my blog.

12 Mar 2023 1 minute read 6 comments Casper_x

I'm thrilled to share with you some incredible news: my blog has just surpassed 1000 views in less than a month! Since I started writing posts on February 25th, I never thought my blog would be so well received. (I understand that some may think it's...

Project Teams @ Dcoder

12 Mar 2023 1 minute read 0 comments Lochard

Problem: There are N students in a class and Teacher want to divide these students into some groups . Teacher told  that groups consisting of two or less students not allowed , so Teacher want to have as many groups consisting of three or more studen...

Leap Year @ Dcoder

11 Mar 2023 1 minute read 0 comments Lochard

roblem: Steve is playing a quiz game with his brother John. As Steve just learned the concept of leap year, John wanted to test his knowledge. For that, John started to ask Steve whether a year is a leap year or not by giving him a random year. Steve...

Python | Decrypt Caesar Encryption

11 Mar 2023 4 minute read 0 comments Casper_x

Decrypt Caesar Encryption   Discover how to decrypt an encrypted message with the Caesar cipher using a simple yet effective method in Python with the ‘decrypt_cesar()’ function.   After creating my Caesar Cipher program, which allows encrypting and...

String Matching @ Dcoder

10 Mar 2023 1 minute read 2 comments Lochard

Problem: Cody has a sequence of characters N. He likes a sequence if it contains his favourite sequence as a substring. Given the sequence and his favourite sequence F, check whether the favourite sequence is present in the sequence. Input: The first...

'Time' Library | Python

10 Mar 2023 2 minute read 0 comments Casper_x

How to use 'Time' library ?    The 'time' library provides access to several time-related functions in Python. These functions allow us to work with time in various ways, including measuring the execution time of code, formatting dates and times for...