Build things "just for fun" and put them in your CV. It's more impressive than you may think. Since not many people do it, it's an easy way to stand out.
Sometimes interviewers will intentionally give you a very vague, ambiguous question just to see how you react. Don't freak out. Expect this. The ability to tackle ambiguity is actually one of the points that you are being evaluated on.
Basic and extended regex are variations on the syntax of the pattern. With basic (BRE) syntax, characters like ? and + don't have special meaning unless prefixed with \ With extended (ERE) syntax it is reversed: the characters are special unless they are prefixed with \
"XML combines the efficiency of text files with the readability of binary files" - Andrew S. Tanenbaum
vi 101 i - Insert Mode (edit the text) esc key- Command Mode. In this mode: :w - save work :w! force write :q - quit vi :q! -force quit 0 - beginning of line $ - end of line u - undo dw - delete till end of current word db - delete till beginning of current word
Core reviews improve your codebase quality and they are an excellent learning tool.
In Java, all classes inherit from othe Object class the following methods: - toString - equals - hashcode - clone - finalize - getClass - notify - notifyAll - wait They're available to any object you create, and you can override most of them.
Some balanced binary search trees - Red-black: rules based on node colours - AVL: heights of left and right subtrees <= 1 - Splay: after every access, the tree is readjusted. - B-trees: balanced N-children trees. Used commonly in databases
4 JavaScript interview questions Why does typeof null return object? What's the difference between Spread operator and Rest operator? What are closures? How to create an object without a prototype?
Bash exercise: Read from file.txt and output all valid phone numbers to stdout. A valid phone number appears in one of the following two formats: (xxx) xxx-xxxx or xxx-xxx-xxxx No leading or trailing whitespaces grep '^(\d{3}-|\(\d{3}\) )\d{3}-\d{4}$' file.txt
Interview tips: - There are factors outside your control. Keep applying - Be friendly. The interviewers will be working with you if you get hired. - Get a referral - Prepare. Both for tech and behavioural questions - Code fast. Follow-ups are opportunities for you
MATLAB (MATrix LABoratory) was created in 1978 by Cleve Moler MATLAB is both a programming language and a development environment, widely used in many industries: - Automotive - Aerospace - Finance - Telecommunications - Machine learning and AI disp('Hello, world!')
Design patterns in 1 tweet Strategy: Encapsulate an algorithm in a class, using interfaces Ex: Class to shuffle cards that contains a shuffleStrategy object. This object can be changed at runtime to change the shuffling method.
7 Common array interview questions 1. Binary search & variants 2. Rotate an image by 90 degrees 3. Dutch national flag 4. Merge two sorted arrays 5. Find missing element 6. Print a matrix in spiral form 7. Kadane's sum algorithm Try to solve them (easily googable)
5 Random coding tips Plan out your approach RTFM - Read The F* Manual Delete unused code Take responsibility for your mistakes Name variables and functions appropriately
Caches - Based on locality: If X was used before, it's likely to be used again - Are smaller but faster to access than RAM - If info is in cache (hit), retrieved faster - If not in cache (miss), RAM needs to be queried - OS can't control what goes into the cache
Stacks are simple data structures that maintain a LIFO, last-in first-out, ordering. Queues are simple data structures that maintain a FIFO, first-in first-out, ordering. Can you build a queue using 2 stacks?