Full form of FFT is Fast Fourier Transformation. Fast Fourier Transformations are widely used for ma…
Click here to read the complete problem statement.
If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.
On Windows, a new line is represented using two characters: CR (carriage return) and LF (line feed). On Unix-like systems it is just LF.
This means if an input file contains CRLF line endings, and you are using something like fgets to read a line, then you will have CR (i.e. ‘\r’) as a part of the string.
This is why we convert line endings for all input/output files in Toph to LF.
Some of the older problems may still have CRLF line ending as the conversion functionality didn’t exist back then in Drafts.