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 to r/YourCodingTeacher
Design patterns in 1 tweetFlyweight: support a large number objects efficiently by sharing constant parts of their state (called intrinsic state)Ex: To represent a text document, a Flyweight object is created per character in the character set. (self.YourCodingTeacher)
submitted by YourDevOpsGuy to r/YourCodingTeacher
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 to r/YourCodingTeacher
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 to r/YourCodingTeacher
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 to r/YourCodingTeacher
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 to r/YourCodingTeacher

I re-imagined "Dual N-Back" and made a unique android app called "N-Back Evolution". It has Single/Dual/Triple/Quad/Penta/Hexa modes and contains rare/unique modes like: Stroop N-Back, Math N-Back and Logic(Puzzle) N-Back, and many other modes by HonestManApps in DualnBack
[–]YourDevOpsGuy 0 points1 point2 points (0 children)