Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.8K+ articles
DSA
20.1K+ articles
Misc
8.2K+ articles
Mathematical
7.5K+ articles
Competitive Programming
3.0K+ articles
Strings
2.9K+ articles
C++ Programs
2.1K+ articles
Algorithms
1.8K+ articles
strings
119+ articles
Huffman Coding
5+ articles
encoding-decoding
34 posts
Recent Articles
Popular Articles
Decrypt the encoded string with help of Matrix as per given encryption decryption technique
Last Updated: 14 March 2022
Given an encoded (or encrypted) string S of length N, an integer M. The task is to decrypt the encrypted string and print it. The encryption and decryption techniques are ...
read more
Misc
Strings
Matrix
DSA
encoding-decoding
Decrypt message from given code by replacing all * with prefix values of encoded string
Last Updated: 29 December 2021
Given a string str of length of N that is in the encoded form with alphabets and * . The task is to find the string from which it was generated. The required string can be...
read more
Strings
Greedy
Algo Geek
Algo-Geek 2021
DSA
prefix
encoding-decoding
Encode given string by replacing substrings with prefix same as itself with *
Last Updated: 29 December 2021
Given string str of size N containing only lowercase English letters. The task is to encrypt the string such that the substrings having same prefix as itself are replaced ...
read more
Strings
Stack
Algo Geek
Algo-Geek 2021
DSA
prefix
encoding-decoding
substring
Encode given String by inserting in Matrix column-wise and printing it row-wise
Last Updated: 02 August 2022
Given a string S and an integer R, the task is to encode the string by first filling each character in column wise manner from top to bottom in a matrix having R rows and ...
read more
Strings
Algo Geek
Algo-Geek 2021
DSA
encoding-decoding
Encode given string by shifting each character forward with its alphabetical value
Last Updated: 27 June 2023
Given string str of size N consisting of lowercase English alphabets, the task is to encode the given string as follows:change every character of that string to another ch...
read more
Strings
DSA
encoding-decoding
strings
Find the string among given strings represented using given encryption pattern
Last Updated: 21 June 2022
Given an array of strings arr[] of size N and an encrypted string str, the task is to find the correct string from the given array of strings whose encryption will give st...
read more
Strings
Mathematical
Algo Geek
Algo-Geek 2021
DSA
encoding-decoding
Encoding a sentence into Pig Latin
Last Updated: 24 August 2022
Design a program to take a sentence as an input, and then encode it into Pig Latin.A Pig Latin is an encrypted word in English, generated by placing the first letter of ea...
read more
Strings
Algo Geek
Algo-Geek 2021
DSA
encoding-decoding
Reconstruct original string from resultant string based on given encoding technique
Last Updated: 27 January 2022
A binary string S of length N is constructed from a string P of N characters and an integer X. The choice of the ith character of S is as follows:If the character Pi-X exi...
read more
Strings
DSA
binary-string
encoding-decoding
Encode Strings in form of "xAyB" where x and y and based on count of digits
Last Updated: 13 July 2023
Given two numeric string N and M, the task is to encode the given strings in the form "xAyB", where:x is the count of digits that are same in N and M and are present on sa...
read more
Strings
Mathematical
DSA
number-digits
encoding-decoding
Check if String S can be compressed to T by replacing some X characters with count X
Last Updated: 04 April 2022
Given two strings, S and T where S is a normal string and T is a compressed string, the task is to determine if the compressed string T can be achieved by compressing the ...
read more
Strings
Greedy
Geeks Premier League
Geeks-Premier-League-2022
DSA
encoding-decoding
Encrypt given Array in single digit using inverted Pascal Triangle
Last Updated: 30 March 2023
Given an array arr[] of length N (N 1)containing positive integers, the task is to encrypt the numbers of the array into a single digit using the inverted Pascal triangle...
read more
Competitive Programming
Recursion
DSA
Arrays
encoding-decoding
Text File Compression And Decompression Using Huffman Coding
Last Updated: 10 May 2024
Text files can be compressed to make them smaller and faster to send, and unzipping files on devices has a low overhead. The process of encoding involves changing the repr...
read more
Algorithms
DSA
Huffman Coding
encoding-decoding
Compressed String decoding for Kth character
Last Updated: 13 December 2023
Given a compressed string composed of lowercase characters and numbers, the task is to decode the compressed string and to find out the character located at the Kth positi...
read more
Strings
Competitive Programming
Recursion
DSA
Directi
Algorithms-Recursion
encoding-decoding
strings
Base64 Java Encode and Decode a String
Last Updated: 31 January 2024
Base64 encoding allows encoding binary data as text strings for safe transport, at the cost of larger data size. It is commonly used when there is a need to encode binary ...
read more
Java
Java Programs
Picked
Java-Strings
encoding-decoding
Java Examples
Character Encoding Detection With Chardet in Python
Last Updated: 21 March 2024
We are given some characters in the form of text files, unknown encoded text, and website content and our task is to detect the character encoding with Chardet in Python. ...
read more
Python
Python Programs
Picked
encoding-decoding
python-regex
1
2
3
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !