I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| union | |
| { | |
| unsigned int integer; | |
| unsigned char byte[4]; | |
| } itoch; | |
| main(){ | |
| printf("Converting IP: 32.0.45.54\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <opencv/cv.h> | |
| #include <opencv/highgui.h> | |
| #include <iostream> | |
| using namespace std; | |
| using namespace cv; | |
| // quality-metric | |
| namespace qm | |
| { |