Skip to content

Instantly share code, notes, and snippets.

View Hochul822's full-sized avatar

Roark(Hochul) Hochul822

View GitHub Profile
#1. Given the string of parentheses only, write the function to check if they are balanced.
((())) is balanced,
(() is not.
)( not balanced
bool isBalanced(char input[]) {
Stack stack;
int len = strlen(input);
@protrolium
protrolium / ffmpeg.md
Last active November 12, 2024 21:27
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with: