🚀 Hello Everyone
I’m Morad and this is my humble website where I post stuff that is related to programming and tech. How did you end up here? Nevermind, this place is for everybody. Just a question:
Can you write a C program to print “Hello World” without using any semicolon?
Sounds strange, but yes, you can. How?
void main(){
if (printf("Hello world")) { }
}
Another question:
What is the best programming language to choose when you’re on a code interview for job?
- Java
- C/C++
- Python
- Other
Well, in my opinion Python offers a lot of libraries, packages and functions that can make you save time during your interview. Let’s see an example:
Could you implement an algorithm to determine if a string has all unique characters?
In Python it should be as simple as this.
def unique_caracters(string):
return len(set(string)) == len(string)
If you like to some of these kind of things, just visit my website and, of course, don’t hesitate to contact me if you have any proposal or feedback. Visit my blog where I post interesting stuff and some simple courses.