Skip to content
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Singly Linked List
Doubly Linked List
Circular Linked List
Doubly Circular Linked List
Linked List Tutorial
Stack
Queue
Tree
Generic Tree
Binary Tree
Binary Search Tree
AVL Tree
B Tree
B+ Tree
Red Black Tree
Tree Data Structure Tutorial
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
DSA Tutorial
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
Wipro Coding Sheet
Infosys Coding Sheet
TCS Coding Sheet
Cognizant Coding Sheet
HCL Coding Sheet
DSA Cheat Sheets
SDE Sheets
FAANG Coding Sheet
Love Babbaar Sheet
Mass Recruiter Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Top 100 DSA Interview Questions Topic-wise
Top 50 Array Problems
Top 50 String Problems
Top 50 Problems on Stack
Top 50 Problems on Heap
Top 20 Linked List Interview Question
Top 50 Tree Problems
Top 50 Graph Problems
Top 50 Problems on Recursion
Top 20 Greedy Algorithms Interview Questions
Top 50 Dynamic Programming (DP) Problems
Top 20 Hashing Technique based Interview Questions
Top 20 Dynamic Programming Interview Questions
Top 10 algorithms in Interview Questions
Commonly Asked Data Structure Interview Questions
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Top MCQs on Puzzles with Answers
Crossword Puzzle Of The Week
Tutorials
Programming Languages
C
C++
Python
R
Golang
C#
Swift
Kotlin
Scala
Perl
Java
Java Tutorial
Java Collection
Java 8 Tutorial
Java Advance
Spring Tutorial
Spring Boot Tutorial
Spring MVC Tutorial
Hibernate Tutorial
Java Interview Questions
Java Interview Questions
Multithreading Interview Questions
Collection Interview Quesions
Java Programs
Java Projects
CS Subjects
Mathematics
Operating System
DBMS
Computer Networks
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
System Design
System Design Tutorial
What is System Design
Key Terminologies in System Design
Analysis and Architecture of Systems
Scalability in System Design
Databases in System Design
High Level Design or HLD
Low Level Design or LLD
Communication Protocols
Web Servers and Proxies
Case Studies in Designing Systems
Complete System Design Tutorial
System Design Patterns
Factory Pattern
Observer Pattern
Singleton Design Pattern
Decorator Pattern
Strategy Pattern
Adapter Pattern
Command Pattern
Iterator Pattern
Prototype Design Pattern
All Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
DevOps
Git
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
SQL Tutorial
Interview Questions
C Interview Questions
C++ Interview Questions
STL Interview Questions
Java Interview Questions
Python Interview Questions
R Interview Questions
SQL Interview Questions
Linux Interview Questions
C# Interview Questions
Android Interview Questions
Flutter Interview Questions
Operating System Interview Questions
Computer Network Interview Questions
Software Engineering Interview Questions
CCNA Interview Questions
Ethical Hacking Interview Questions
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Projects
C++ Projects
Java Projects
Python Projects
Machine Learning Projects
Android Projects
Cheat Sheets
C CheatSheet
C++ CheatSheet
C++ STL CheatSheet
Python CheatSheet
Docker CheatSheet
Kubernetes CheatSheet
Computer Network CheatSheet
CCNA CheatSheet
Ethical Hacking CheatSheet
Quizzes
C Quiz
C++ Quiz
Java Quiz
Python Quiz
DBMS Quiz
Operating System Quiz
Computer Network Quiz
COA Quiz
ML & Data Science
Python Tutorial
R Tutorial
Machine Learning
Machine Learning Maths
Machine Learning Tutorial
Machine Learning Projects
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Data Visualization with Python
Python Data Visualization Tutorial
Matplotlib Tutorial
Bokeh Tutorial
Plotly Tutorial
Seaborn Tutorial
Data Visualization with R
Data Visualization with R
Plotly Tutorial
ggplot Tutorial
Data Visualization Tools
Tableau
Power BI
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
Deep Learning Tutorial
Deep Learning Projects
NLP Tutorial
OpenCV Tutorial
Interview Questions
Machine Learning Interview Question
Deep Learning Interview Question
Python Interview Questions
Top 50 R Interview Questions
ML Frameworks
Tensorflow
PyTorch
PyTorch Lightning
Web Development
HTML
CSS
JavaScript
PHP
Bootstrap Tutorial
CSS Frameworks
Tailwind CSS
Foundation CSS
Materialize CSS
Bulma
Pure CSS
Primer CSS
Blaze UI
Semantic UI
JavaScript Frameworks
AngularJS
Angular PrimeNG
Angular ngx Bootstrap
NodeJS
Express.js
JavaScript Libraries
jQuery
jQuery Mobile
jQuery UI
jQuery EasyUI
jQWidgets
ReactJS
React Bootstrap
React Rebass
React Desktop
React Suite
ReactJS Evergreen
ReactJS Reactstrap
Ant Design
BlueprintJS
p5.js
Lodash
TensorFlow.js
Moment.js
Collect.js
Django Tutorial
WordPress
JSON
Web Dev Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
Bootstrap Cheat Sheet
JS Cheat Sheet
jQuery Cheat Sheet
Angular Cheat Sheet
Practice
All DSA Problems
Problem of the Day
GFG SDE Sheet
Curated DSA Lists
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Home
Saved Videos
Courses
Data Structures and Algorithms
DSA Tutorial
Data Structures Tutorial
Algorithms Tutorial
Top 100 DSA Interview Questions
DSA-Roadmap[Basic-to-Advanced]
ML & Data Science
Learn Python
Data Science Tutorial
Machine Learning Tutorial
Deep Learning Tutorial
NLP Tutorial
Computer Vision Tutorial
Web Development
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
ReactJS Tutorial
NodeJS Tutorial
Languages
C
C++
Java
R Tutorial
Golang
Interview Corner
Company Interview Corner
Experienced Interviews
Internship Experiences
Practice Company Questions
Competitive Programming
CS Subjects
Operating Systems
DBMS
Computer Networks
Software Engineering
Software Testing
Jobs
Get Hired: Apply for Jobs
Job-a-thon: Hiring Challenge
Corporate Hiring Solutions
Practice
All DSA Problems
Problem of the Day
GFG SDE Sheet
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
World Cup Hack-A-Thon
GFG Weekly Coding Contest
Job-A-Thon: Hiring Challenge
BiWizard School Contest
All Contests and Events
GBlog
Puzzles
What's New ?
Change Language
Trending Now
Data Structures
Algorithms
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
Java
C
C++
ReactJS
NodeJS
Web Development
Web Design
Web Browser
CP Live
Aptitude
Puzzles
Projects
DSA
System Design
Software Development
Product Management
SAP
SEO
▲
Similar Topics
DSA
21k+ articles
Python
19.1k+ articles
Mathematical
7.6k+ articles
Strings
3.1k+ articles
Greedy
2k+ articles
Algorithms
1.2k+ articles
frequency-counting
750+ articles
prefix
140+ articles
String-Run Length Encoding
7+ articles
Huffman Coding
6+ articles
encoding-decoding
30+ posts
Popular articles
Recent articles
Text File Compression And Decompression Using Huffman Coding
Last Updated: 25 April 2023
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
Huffman Coding
Algorithms
encoding-decoding
DSA
Program to perform a letter frequency attack on a monoalphabetic substitution cipher
Last Updated: 30 January 2023
Given a string S of size N representing a monoalphabetic cipher, the task is to print the top five possible plain texts that can be decrypted from the given monoalphabetic
...read more
Strings
cpp-string
Arrays
frequency-counting
encoding-decoding
DSA
Implementation of Vernam Cipher or One Time Pad Algorithm
Last Updated: 30 October 2023
One Time Pad algorithm is the improvement of the Vernam Cipher, proposed by An Army Signal Corp officer, Joseph Mauborgne. It is the only available algorithm that is unbre
...read more
Algorithms
Technical Scripter
encoding-decoding
Picked
Technical Scripter 2020
DSA
Similar Topics
DSA
21k+ articles
Python
19.1k+ articles
Mathematical
7.6k+ articles
Strings
3.1k+ articles
Greedy
2k+ articles
Algorithms
1.2k+ articles
frequency-counting
750+ articles
prefix
140+ articles
String-Run Length Encoding
7+ articles
Huffman Coding
6+ articles
Decode the string encoded with the given algorithm
Last Updated: 31 May 2021
Given a decoded string str which was decoded with the following encoding algorithm:Write down the middle character of the string then delete it and repeat the process unti
...read more
Strings
encoding-decoding
DSA
Program to Encrypt a String using ! and @
Last Updated: 27 March 2023
Given a string, the task is to encrypt this string using ! and @ symbols, alternatively. While encrypting the message the encrypted format must repeat the symbol as many t
...read more
Strings
School Programming
encoding-decoding
DSA
Find k-th character of decrypted string | Set - 2
Last Updated: 21 April 2021
Given an encoded string where repetitions of substrings are represented as substring followed by count of substrings. For example, if encrypted string is "ab2cd2" and k=4,
...read more
Strings
Data Structures
encoding-decoding
String-Run Length Encoding
DSA
Basic Type Base64 Encoding and Decoding in Java
Last Updated: 18 October 2021
Base 64 is an encoding scheme that converts binary data into text format so that encoded textual data can be easily transported over network un-corrupted and without any d
...read more
Java
Java - util package
Java-Functions
encoding-decoding
Java-Base64
Python | Message Encode-Decode using Tkinter
Last Updated: 06 July 2021
Prerequisite : Basics of TkinterPython offers multiple options for developing GUI (Graphical User Interface). Out of all the GUI methods, tkinter is most commonly used met
...read more
Project
Python
encoding-decoding
Python-projects
Morse Code Implementation
Last Updated: 18 April 2023
Morse code is a method of transmitting text information as a series of on-off tones, lights, or clicks that can be directly understood by a skilled listener or observer wi
...read more
Strings
encoding-decoding
DSA
Polybius Square Cipher
Last Updated: 15 September 2023
A Polybius Square is a table that allows someone to convert letters into numbers. To make the encryption little harder, this table can be randomized and shared with the re
...read more
Strings
encoding-decoding
DSA
Encryption vs Encoding vs Hashing
Last Updated: 27 June 2023
Pre-Requisite: Encryption, Encoding, Hashing.Encryption, Encoding, and Hahsing are similar kinds of things and have little difference between them. They all are used to ch
...read more
Misc
encoding-decoding
DSA
Encoding a word into Pig Latin
Last Updated: 22 July 2022
Design a program to take a word as an input, and then encode it into Pig Latin. A Pig Latin is an encrypted word in English, which is generated by doing the following alte
...read more
Strings
encoding-decoding
DSA
Huffman Decoding
Last Updated: 07 April 2023
We have discussed Huffman Encoding in a previous post. In this post, decoding is discussed.Examples:Input Data: AAAAAABCCCCCCDDEEEEEFrequencies: A: 6, B: 1, C: 6, D: 2, E:
...read more
Greedy
Heap
encoding-decoding
DSA
Efficient Huffman Coding for Sorted Input | Greedy Algo-4
Last Updated: 06 November 2023
We recommend to read following post as a prerequisite for this.Greedy Algorithms | Set 3 (Huffman Coding)Time complexity of the algorithm discussed in above post is O(nLog
...read more
Huffman Coding
Greedy
encoding-decoding
DSA
Huffman Coding | Greedy Algo-3
Last Updated: 11 September 2023
Huffman coding is a lossless data compression algorithm. The idea is to assign variable-length codes to input characters, lengths of the assigned codes are based on the fr
...read more
Amazon
Huffman Coding
Morgan Stanley
Samsung
United Health Group
Greedy
Heap
encoding-decoding
priority-queue
DSA
1
2
3
>>
Last
1
2
3
>>
Last
1
2
3
>>
Last
Courses
1090k+ interested Geeks
Data Structures and Algorithms - Self Paced
Explore
202k+ interested Geeks
Data Structures & Algorithms in Python - Self Paced
Explore
39k+ interested Geeks
DSA for Interview Preparation
Explore
Recently Published
Python For DevOps:  A Complete Guide For Beginners
Read
Top 10 Full Stack Developer Frameworks
Read
100 Days of GATE Data Science & AI – A Complete Guide For Beginners
Read
5 Best Chrome Alternatives for Android (2023)
Read
Top 10 VS Code Extensions For Data Science
Read
Google Bard AI can now watch YouTube videos and answer your questions
Read
Python vs Java Full Stack Developer
Read
How to Choose the Right Backend Technology?
Read
Fix Error 1061: The Service Cannot Accept Control Messages
Read
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 !