Category Archives: General

System Design Resources

Grokking the System Design Interview https://www.educative.io/collection/5668639101419520/5649050225344512

Posted in General | Leave a comment

Implement a HashMap

http://robl.co/implement-your-own-hashmap/

Posted in General | Leave a comment

Memcached vs APC vs Varnish

Alternative PHP Cache (APC) APC provides two caching mechanisms. APC caches the opcode generated during the PHP execution cycle and then later will be able to avoid loading and parsing PHP files repeatedly. APC also provides a key-value, object cache … Continue reading

Posted in General | Leave a comment

21 Essential Javascript Questions

https://www.codementor.io/nihantanu/21-essential-javascript-tech-interview-practice-questions-answers-du107p62z

Posted in General | Leave a comment

Static Concept

A static variable is one that’s associated with a class, not objects of that class. Static is an access qualifier that limits the scope but causes the variable to exist for the lifetime of the program. This means a static … Continue reading

Posted in General | Leave a comment

Useful Coding Resources

Williams Coding Book: http://wlcoding.blogspot.com/

Posted in General | Leave a comment

Differences between PHP, Python, Javascript

https://docs.google.com/document/d/144e-V_6vVNSZrOwQ8uCndtPqzDnu53lKpjx8ZWjJ3P0/edit

Posted in General | Leave a comment

Depth First Search vs Breadth First Search

Karumanchi (pg 216) DFS 1) Visit a node, then one of its child, then one of its child, till you reach the leaf. Then backtrack and visit other childs. 2) lower memory requirements since its not required to store all … Continue reading

Posted in General | Leave a comment

Questions on Testing

1) Difference between functional testing and unit testing Unit Tests are written from a programmers perspective. They are made to ensure that a particular method (or a unit) of a class performs a set of specific tasks. Functional Tests are … Continue reading

Posted in General | Leave a comment

Language Comparision

Variables JS var colors = “green”; PHP $colors = “green”; ========================================== Array JS var colors ; colors = [‘white’,’black’,’brown’]; colors[0]; OR var colors = Array(‘white’,’black’,’brown’); colors.item(0); ========================================== Object JS: var hotel = { name: ‘Super8’, rooms: 40, booked: 25 checkAvailability … Continue reading

Posted in General | Leave a comment