I need to build a large program as a project for school and I've been thinking about a file compression like winzip/winrar. I read about types of algorithms and their examples but the problem is that all the examples are presenting the implementation on alphabetic strings and it's not helping me because file is not a string, it consists of a succession of zeros and ones. For example, if I have a file - " 0111000110111001 " how can I compress it?
Related Questions in ALGORITHM
- MCNP 6 - Doubts about cells
- Given partially sorted array of type x<y => first apperance of x comes before first of y, sort in average O(n)
- What is the algorithm behind math.gcd and why it is faster Euclidean algorithm?
- Purpose of last 2 while loops in the merge algorithm of merge sort sorting technique
- Dots and Boxes with apha-beta pruning
- What is the average and worst-case time complexity of my string searching algorithm?
- Building a School Schedule Generator
- TC problem 5-2:how to calculate the probability of the indicator random variable?
- LCA of a binary tree implemented in Python
- Identify the checksum algorithm
- Algorithm for finding a subset of nodes in a weighted connected graph such that the distance between any pair nodes are under a postive number?
- Creating an efficent and time-saving algorithm to find difference between greater than and lesser than combination
- Algorithm to find neighbours of point by distance with no repeats
- Asking code suggestions about data structure and algorithm
- Heap sort with multithreading
Related Questions in COMPRESSION
- Should I compress images in java backend before sending to frontend?
- saving always adds artefacts to my images that photoshop doesn't
- Kafka compression on Broker side
- I am trying to compress video in Android using ffmpeg
- Compress gzip/Deflate string with golang
- how to convert different length of bits into byte array?
- knowledge distillation in a multistep model
- How to decompress the contents of a var to another var?
- Why response body not compressed when use webtestclient?
- How to monkey-patch np.savez_compressed to add compression level, without editing numpy's source files?
- incorrect header check while implementing GZIP in spring boot REST APIs
- Create algorhitm to create .pak file from unpack code
- Problem with decompressing algorithm in firefox (works in chrome/edge)
- Can I ignore some keyword while compressing css file through webpack? In other words I need a loader which just compress my file without validation
- PNG cropping increases file size
Related Questions in WINRAR
- PowerShell/Unrar - Use securestring with Unrar Password switch
- python RarFile extract just 1 directory with file inside dir
- How to avoid storing bloat output of CMD while logging the commands in log files?
- Using powershell archive individual files with winrar command line
- Recovering data from a corrupted, possibly partial zip
- How can i Replace the Extract Label on Button with Install in winrar SFX
- Read xlsx file as dataframe inside .rar pack in python directly
- How to extract a multi-volume RAR archive file with a Python script?
- Problem in running an exe file in command line when there is space in paths of files
- Archive files inside subfolder output name
- SFX (Self-extracted) file extract without UI
- How to compress folder into an archive file by command line without knowing the full name of the folder?
- Why I Received Data Error Exception on 7-zip SDK? winrar 5 decompressing
- Winrar, "-or" overwrites file in archive instead of adding number to name if exists
- Matlab giving error due to space between "Program Files" folder name
Related Questions in WINZIP
- WZZIP not excluding files in @listfile process
- How can I pass a path in PowerShell, I am getting an error that I can't figure out
- Unzip Password Protected File in R using WinZip
- Winzip command line - Include full path information
- WinZip command line sync vs async
- What's the Zip Strong Encryption Specification/SecureZip key derivation function?
- How to uncompressed .Z files in R with winzip
- ZipFile API throws error when opening file
- I am trying to use ffmpeg to separate audio from video, but after downloading the ffmpeg build I cannot seem to activate it in Power Shell
- How to open WinZip password protected archive?
- Unable to drag drop to ZIP
- WZZIP create zip file excluding 2 folder + subfolders
- Is there any difference between ZIP files?
- Python Winzip Password Tester without dictionary
- Unzip cab files in a folder, only certain filetypes and rename
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Even if the examples that you've seen use alphabetic strings, at machine level, it's still a succession of 0 and 1. If you want to apply those examples to your binary file, you can read it byte by byte, or word by word. By this way, what you've seen for alphabetic strings will still be available.