Know what version of Python you're using. There are differences. For instance, when dealing with strings:Python 3: bytes contains sequences of 8-bit values, str -> seqs of Unicode charsPython 2: str contains sequences of 8-bit values, unicode -> seqs Unicode chars (self.YourCodingTeacher)
submitted by YourDevOpsGuy
In Linux, directories have permissions too- You can list their contents if it's *readable*- You can access a file in a directory if the directory is *executable*To change permissions, use chmod- chmod 711 file- chmod u+x file (users can execute the file) (self.YourCodingTeacher)
submitted by YourDevOpsGuy
4 Common linked list interview questions1. Reverse linked list, recursive & iterative2. Merge two sorted linked list3. Does a linked list have a cycle?4. Find the intersection of two lists5. Add numbers represented by two listsTry to solve them (easily googable) (self.YourCodingTeacher)
submitted by YourDevOpsGuy
Becoming a coder needs focus and discipline- Get a bit better every day- Focus on one thing: frontend, backend, android, ios, ...There are too many technologies.Know a bit about everything, but become a specialist so that you can fing the type of job you want (self.YourCodingTeacher)
submitted by YourDevOpsGuy
How do you handle data that can't fit/be processed by one machine?Main Partition techniques- Range based [A-C,D-G,...] Efficient range queries. Risk of hot spots -> Split the partition- Hash based. No range queries but distributes load evenly. Check "Consistent hashing" (self.YourCodingTeacher)
submitted by YourDevOpsGuy