<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ran Ding on Medium]]></title>
        <description><![CDATA[Stories by Ran Ding on Medium]]></description>
        <link>https://medium.com/@ding-ran?source=rss-390f7c7281a1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YORlzbuUtJ7jB2echSykQQ.jpeg</url>
            <title>Stories by Ran Ding on Medium</title>
            <link>https://medium.com/@ding-ran?source=rss-390f7c7281a1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:36:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ding-ran/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My Frontend Learning Plan — 2021]]></title>
            <link>https://ding-ran.medium.com/my-frontend-learning-plan-2021-de934ea2a196?source=rss-390f7c7281a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/de934ea2a196</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Ran Ding]]></dc:creator>
            <pubDate>Fri, 12 Feb 2021 16:48:17 GMT</pubDate>
            <atom:updated>2021-02-13T19:12:48.680Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Frontend Learning Plan — 2021</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zhstaPBmYj6wxx4e" /><figcaption>Photo by <a href="https://unsplash.com/@jeremybishop?utm_source=medium&amp;utm_medium=referral">Jeremy Bishop</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote><em>You can also read the post at my </em><a href="https://www.dingran.me/frontend-learning-plan/"><em>blog</em></a><em>, progress will be updated there</em></blockquote><p>I have always been very curious about the whole web frontend development ecosystem. It seems to me technology and developer tooling evolve very fast, and people have done a lot of creative things in this space in the last several years. Being completely ignorant to frontend it also added motivation for me to make a commitment this year (new year resolution🎉) to become proficient at frontend development.</p><p>I was thinking what I could do to keep myself more motivated and accountable and decided to write down my goals, plan and updates here as I make progress.</p><h3>Goals</h3><p>My main goals are</p><ul><li><strong>Knowledge, breadth: </strong>become familiar with frontend development tools and process overall.</li><li><strong>Skills, depth: </strong>establish my own workflow with a set of tools of choice, comfortable making frontend changes/projects.</li><li><strong>Practical experience: </strong>have a few actual, small projects under my belt to gain practical experience, silly projects are OK/encouraged.</li></ul><p>Here is a basic breakdown of the key components in the tech stack that I know of so far. I will keep adding sections as I learn more. Under each section, I will also add updates (with dates) later on progress made or adjusted views.</p><p>I’ll summarize the outcome in <strong>Notes </strong>and <strong>Projects</strong> sections at the bottom of this page. I plan to write posts to document my learning — some posts will be “learning notes” documenting something I learned or how I figured something out, other posts will be about some standalone projects. I hope writing help me develop more clear understanding of the subjects and create useful future reference.</p><h3>HTML</h3><p>I considered it to be pretty self explanatory and didn’t dedicated anytime here, I’ll trust Google/StackOverflow moving forward 🤞</p><h3>CSS</h3><p>Here is a quick 1.5-hr <a href="https://youtu.be/yfoY53QXEnI">crash course</a> that’s pretty fast paced, but fairly minimal/basic. I’d expect a ton of Googling later.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FyfoY53QXEnI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DyfoY53QXEnI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FyfoY53QXEnI%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9e7a930a533a19ff5d6bd899bad6943e/href">https://medium.com/media/9e7a930a533a19ff5d6bd899bad6943e/href</a></iframe><h3>Javascript (Browser and Node.js)</h3><p>This is a new language to me, here is a great and quick <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript">summary</a> I read through. I also took two Udemy courses last year: <a href="https://www.udemy.com/course/javascript-the-complete-guide-2020-beginner-advanced/">one</a> for the language itself, <a href="https://www.udemy.com/course/nodejs-the-complete-guide/">one</a> for using it on the server side with Node.js. I found these courses much lengthier than necessary, and can’t really recommended them to others. I skipped most of the exercises and some topics — I plan leave that experience to actual projects. It was still good to get some context on practical applications and tooling setup.</p><p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript">A re-introduction to JavaScript (JS tutorial) - JavaScript | MDN</a></p><h3>React</h3><p>New frontend frameworks show up every year, but Vue and React seem popular and here to stay. More recently <a href="https://svelte.dev/">Svelte</a> seems to be gaining a lot of popularity. Overall, I feel React is more mature/well-supported, decided to go with it. For an quick comparison of other frameworks see the chart below from <a href="https://2020.stateofjs.com/en-US/">State of JS 2020</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/0*3-lqpu5bHB2wwgKs.png" /></figure><p>Regarding learning resources: I was attempting to go through this <a href="https://www.udemy.com/course/react-the-complete-guide-incl-redux/">course</a> on Udemy but too fed up with the lengthiness and verbosity and decided to just read the docs on <a href="https://reactjs.org/">reactjs.org</a>, which is excellent.</p><p><strong>Some problems with React:</strong></p><p>React seems to be completely client-side rendered and is geared towards SPAs (Single Page App). This brings some difficulties.</p><p>A complete web app / website will have some app pages and some content pages (like its landing page, blog content, FAQ etc). Client-side rendering these static pages that don’t really have much UX/interactivity will be both unnecessary and probably catastrophic for SEO — slow page load speed compared to server-rendered/pre-rendered static pages, and crawler might have trouble executing client side JS.</p><p>One solution is to complete separate these static/content pages from the app. But for these content pages, it would be nice to reuse the same set of UI components from the React app (buttons, navbar etc). So completely separating also isn’t a great option.</p><p>Here is where Next.js comes in.</p><h3>Next.js (still using React, but better)</h3><p>After reading about what <a href="https://nextjs.org/">Next.js</a> offers in terms of hybrid static &amp; server rendering it does, I was so impressed and think this is thing I was looking for.</p><p>Also to note, I tried out the deployment tooling at <a href="https://vercel.com/">Vercel</a> and really liked it. Previously to make a web app, we’d need to host the backend server somewhere (say AWS or Heroku), and deploy the frontend bundle somewhere (e.g. Netlify or S3 with some CDN). So there are always kind of two places to deploy to and to pay for — a bit of a hassle especially for small projects.</p><p>With Vercel, it handles the CDN for all the static assets, and hosts all the server side logic (api routes) as serverless functions executed on AWS Lambda (I think), so you really have zero hosting infra to worry about.</p><p>This is getting into a bit of backend, but hard to not talk about it given the issues we face with React alone. Historically Express.js has been the de facto standard here for Javascript developers, but Next.js has become a serious contender. See the chart below from <a href="https://2020.stateofjs.com/en-US/">State of JS 2020</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*zqTGEDNk5otuJppX.png" /></figure><p>I want to give a big shoutout to <a href="https://leerob.io/">Lee Robinson</a> for putting out a lot of great content on Next.js, check out his courses, repos and content. Here is one of his course that’s pretty practical with an actual app.</p><h3>UI Framework / Design System</h3><p>After some tinkering with <a href="https://material-ui.com/">Material UI</a>, it just felt a bit too convoluted. Perhaps I just didn’t get it. After watching that React 2025 course videos, I decided to go with Chakra UI, will see how it goes and report back.</p><p><a href="https://chakra-ui.com/">Chakra UI</a></p><h3>TypeScript</h3><p>I took a very quick look at <a href="https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html">TypeScript for JavaScript Programmers</a>, and played around with it by converting a small JavaScript project into TypeScript. The comfort and confidence writing with Typescript is excellent, and I can see for a bigger project/bigger team this is going to be super useful/mandatory, something I’ll revisit as my project get bigger. The adoption can be incremental anyways.</p><h3>Webpack</h3><p>In the process of setting up TypeScript project I also got to learn a bit about Webpack. When we write client side code with lots of dependencies, we need to somehow build them into something (a bundle) the browser can run), there are many browsers to accommodate.</p><p>Webpack is a pretty popular and powerful tool for this bundling task (though I haven’t really looked at others). It has a lot of flexibilities to customize the build process, so you can add additional steps, like processing TypeScript to JavaScript before transpiling and polyfilling so your code is compatible with older browsers. Webpack also makes it possible to handle non-code dependencies, like images, css or even markdown files.</p><p>One reality though is that the modern frameworks such as React or Next already provided build script and you largely don’t need to deal with Webpack directly, but in various project if you want to customize things a little bit (like add an post-proccessing step, or copying some files somewhere), knowing a bit about Webpack comes in handy.</p><p>I learned everything I knew about Webpack from its <a href="https://webpack.js.org/concepts/">documentation</a> and this <a href="https://youtu.be/MpGLUVbqoYQ">tutorial on YouTube</a>, and can highly recommend it.</p><h3>Testing</h3><p>I haven’t really done much here, it seems Mocha, Jest and Cypress are good to check out. Another super high satisfaction but currently lower usage one is <a href="https://testing-library.com/">Testing Library</a>.</p><p><em>Originally published at </em><a href="https://www.dingran.me/frontend-learning-plan/"><em>https://www.dingran.me</em></a><em> on February 12, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de934ea2a196" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Takeaways From “State of JS 2020”]]></title>
            <link>https://ding-ran.medium.com/takeaways-from-state-of-js-2020-7831f82ab713?source=rss-390f7c7281a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/7831f82ab713</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[reactjs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Ran Ding]]></dc:creator>
            <pubDate>Fri, 12 Feb 2021 16:42:00 GMT</pubDate>
            <atom:updated>2021-02-14T13:11:41.659Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8Abd8-DgvZPLZTZa_-Op9Q.jpeg" /></figure><p>As I’m starting to learn about frontend development (see <a href="https://www.dingran.me/frontend-learning-plan/">my plan here</a>), a friend of mine recommended I take a look at the State of JS survey:</p><p>This is a pretty cool survey with 20,000 developers to identify current and upcoming trend and seems like a great resource for a quick overview of the landscape.</p><h3>Knowledge Gaps</h3><p>The first thing I got out of it are the knowledge gaps I have on various features of Javascript — the language and . Things that seem immediately useful but I didn’t know about are:</p><p>Syntax</p><ul><li>Nullish coalescing</li><li>Optional chaining</li><li>Private Fields</li></ul><p>Language features</p><ul><li>Proxies</li><li>Decorators (didn’t know JS has this)</li><li>Promise.allSettled() (a rejected+resolved version of Promise.all())</li><li>Dynamic Import</li></ul><p>Data structures</p><ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays">Typed arrays</a></li><li>Array.prototype.flat()</li></ul><p>Browser APIs</p><ul><li><a href="https://www.youtube.com/watch?v=ksXwaWHCW6k">Service workers</a></li><li>WebVR</li><li><a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components">Shadow DOM</a></li></ul><p>See the full list here <a href="https://2020.stateofjs.com/en-US/features/">https://2020.stateofjs.com/en-US/features/</a></p><h3>Technologies</h3><p>Pretty amazing visualization here, basically</p><ul><li>Each line goes from 2016 to 2020, so we can see the trajectory</li><li>Upper right corner (1st quadrant) are popular technologies people also enjoy using</li><li>Lower right corner (4th quadrant) are things that are great but hasn’t become super popular yet.</li></ul><p>Overall, I seem to be picking items from the 1st quadrant already with the following exceptions</p><ul><li>I haven’t really done much testing, it seems Mocha, Jest and Cypress are good to check out. Another super high satisfaction but currently lower usage one is <a href="https://testing-library.com/">Testing Library</a>.</li><li>TypeScript is on my radar, though not adopted yet</li><li>I picked up Next.js thought it is great to make static page, and app pages in one place — easy to write and deploy, good to see it’s on an up and coming trajectory.</li><li>Redux seemed a bit of an overkill for the current level of complexity of my projects, but will keep an eye on it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m8SMvBs7jm7U406x.png" /></figure><p>A couple of frameworks/tools people really love but I haven’t heard or learned much about are:</p><ul><li>Svelte (Front-end Framework)</li><li>Testing Library (Testing)</li></ul><p>See the full list here <a href="https://2020.stateofjs.com/en-US/technologies/">https://2020.stateofjs.com/en-US/technologies/</a></p><h3>Libraries</h3><p>Looking over the list of libraries, lots of them are around:</p><p>dates</p><ul><li>moment</li><li>date-fns</li></ul><p>UI</p><ul><li>material-ui</li><li>styled-components</li><li>classnames</li><li>tailwind css</li></ul><p>data fetching</p><ul><li>axios</li><li>got</li></ul><p>data fetching with caching</p><ul><li>swr</li><li>react-query</li></ul><p>visualization+3D:</p><ul><li>d3.js</li><li>three.js</li></ul><p>form handling</p><ul><li>formik</li><li>react-hook-form</li></ul><p>utils</p><ul><li>lodash</li><li>underscore</li><li>jquery</li></ul><p>misc / haven’t looked into</p><ul><li>RxJS (async events management)</li><li>Immer</li><li>Ramda</li><li>Luxon</li><li>yup (schema validation)</li></ul><p>More at <a href="https://2020.stateofjs.com/en-US/other-tools/">https://2020.stateofjs.com/en-US/other-tools/</a></p><h3>Resources</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jLhVkZ5zuO924iz7.png" /></figure><p>The survey has a pretty long resources section. I’m particularly curious what developers are reading. Based on personal experience in the last month or so, I’m not surprised by CSS-Tricks ranking #1 :) . It’s interesting to see Medium and Dev.to rank so high, I’ll consider reading more there and repost my posts perhaps.</p><h3>Opinions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kka-tUALBYruMNlA.png" /></figure><p>The <a href="https://2020.stateofjs.com/en-US/opinions/">opinions section</a> is interesting, in particular I’m glad to see the the “Javascript ecosystem is changing too fast” issue is less severe now…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A4A_wQgOs4_z7GS0.png" /></figure><p>But somehow a lot of other questions also have more dispersed (evenly distributed) response in 2019 and 2020 compared to prior years, not sure if just the respondent distribution changed, e.g. see graph below. So I’m not very sure whether to trust these.</p><h3>Conclusion</h3><p>OK, that was a useful resource to quickly catch up on the state of Javascript, I incorporate some findings in my plan <a href="https://www.dingran.me/frontend-learning-plan/">here</a>. Back to coding now ✌️</p><p><em>Originally published at </em><a href="https://www.dingran.me/state-of-js-2020/"><em>https://www.dingran.me</em></a><em> on February 12, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7831f82ab713" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quantitative Interview Preparation Guide]]></title>
            <link>https://ding-ran.medium.com/quantitative-interview-preparation-guide-f9e55fd8f43a?source=rss-390f7c7281a1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9e55fd8f43a</guid>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[career-change]]></category>
            <category><![CDATA[career-paths]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Ran Ding]]></dc:creator>
            <pubDate>Sat, 05 May 2018 18:31:00 GMT</pubDate>
            <atom:updated>2021-02-13T18:57:24.708Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sxusF5GiJQheFwVx" /></figure><blockquote>You can read the original post and related posts at my <a href="https://www.dingran.me/quantitative-interview-preparation-guide/">blog</a></blockquote><p>This is a short list of interview preparation resources for Data Scientists, Machine Learning Engineers, Machine Learning Scientists, Quant Developers and Quant Researchers.</p><p>At a high-level we can divide things into 3 main areas:</p><ol><li>Machine Learning</li><li>Coding</li><li>Math (calculus, linear algebra, probability, etc)</li></ol><p>Depending on the type of roles, the emphasis can be quite different. For example, AI/ML interviews might go deeper into the latest deep learning models, while quant interviews might cast a wide net on various kinds of math puzzles. Interviews for research-oriented roles might be lighter on coding problems or at least emphasize on algorithms instead of software designs or tooling.</p><h3>List of resources</h3><p>A minimalist list of the best/most practical resources:</p><p>Machine Learning:</p><ul><li>Course on classic ML: Andrew Ng’s CS229 (there are several different versions, <a href="https://www.coursera.org/learn/machine-learning">the Cousera one</a> is easily accessible. There is also an <a href="https://www.youtube.com/playlist?list=PLA89DCFA6ADACE599">older version</a> recorded at Stanford)</li><li>Book on classic ML: Alpaydin’s Intro to ML <a href="https://www.amazon.com/Introduction-Machine-Learning-Adaptive-Computation/dp/026201243X/ref=la_B001KD8D4G_1_2?s=books&amp;ie=UTF8&amp;qid=1525554938&amp;sr=1-2">link</a></li><li>Course with a deep learning focus: <a href="http://cs231n.stanford.edu/">CS231</a> from Stanford, lectures available on Youtube.</li></ul><blockquote><em>If you are just breaking into the field I think the above are enough, stop there and move on to other areas of preparation. Here are a few very optional items, mostly on deep learning, in case you have more time:</em></blockquote><ul><li>Overview book on deep learning: <a href="http://neuralnetworksanddeeplearning.com/">Neural Networks and Deep Learning</a> by Michael Nielson.</li><li>Amazing book on deep learning for NLP: <a href="https://www.amazon.com/Language-Processing-Synthesis-Lectures-Technologies-ebook/dp/B071FGKZMH">Neural Network Methods for Natural Language Processing</a> by Yoav Goldberg</li><li>Pick one of those Udacity nanodegrees on deep learning / self-driving cars to get some hands on experience with deep learning frameworks (Tensorflow, Pytorch, MXNet)</li></ul><p>Coding:</p><ul><li>Course: MIT OCW 6006 <a href="https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-fall-2011/">link</a></li><li>Book: Cracking the Coding Interview <a href="https://www.amazon.com/Cracking-Coding-Interview-Programming-Questions/dp/098478280X">link</a></li><li>Practice sites: <a href="https://leetcode.com/">Leetcode</a>, <a href="https://www.hackerrank.com/">HackerRank</a></li><li>SQL tutorial: from <a href="https://community.modeanalytics.com/sql/">Mode Analytics</a></li></ul><p>Math:</p><ul><li>Calculus and Linear Algebra: undergrad class would be the best, refresher notes from CS229 <a href="http://cs229.stanford.edu/section/cs229-linalg.pdf">link</a></li><li>Probability: Harvard Stats110 <a href="https://projects.iq.harvard.edu/stat110/home">link</a>; <a href="https://www.amazon.com/Introduction-Probability-Chapman-Statistical-Science/dp/1466575573/ref=pd_lpo_sbs_14_t_2?_encoding=UTF8&amp;psc=1&amp;refRID=5W11QQ7WW4DFE0Q89N7V">book</a> from the same professor.</li><li>Statistics: Shaum’s Outline <a href="https://www.amazon.com/Schaums-Outline-Statistics-5th-Outlines/dp/0071822526">link</a>.</li><li>[Optional] Numerical Methods and Optimization: these are two different topics really, college courses are probably the best bet. I have yet to find good online courses for them. But don’t worry, most interviews won’t really touch on them.</li></ul><h3>List of topics</h3><p>Here is a list of topics from which interview questions are often derived. The depth and trickiness of the questions certainly depend on the role and the company.</p><p>Under topic I try to add a few bullet points of the key things you should know.</p><h3>Machine learning</h3><ul><li>Models (roughly in decreasing order of frequency)</li><li>Linear regression</li><li>e.g. assumptions, multicollinearity, derive from scratch in linear algebra form</li><li>Logistic regression</li><li>be able to write out everything from scratch: from defining a classification problem to the gradient updates</li><li>Decision trees/forest</li><li>e.g. how does a tree/forest grow, on a pseudocode level</li><li>Clustering algorithms</li><li>e.g. K-means, agglomerative clustering</li><li>SVM</li><li>e.g. margin-based loss objectives, how do we use support vectors, prime-dual problem</li><li>Generative vs discriminative models</li><li>e.g. Gaussian mixture, Naive Bayes</li><li>Anomaly/outlier detection algorithms (DBSCAN, LOF etc)</li><li>Matrix factorization based models</li><li>Training methods</li><li>Gradient descent, SGD and other popular variants</li><li>Understand momentum, how they work, and what are the differences between the popular ones (RMSProp, Adgrad, Adadelta, Adam etc)</li><li>Bonus point: when to not use momentum?</li><li>EM algorithm</li><li>Andrew’s <a href="http://cs229.stanford.edu/notes/cs229-notes8.pdf">lecture notes</a> are great, also see <a href="https://dingran.github.io/EM/">this</a></li><li>Gradient boosting</li><li>Learning theory / best practice (see Andrew’s advice <a href="http://cs229.stanford.edu/materials/ML-advice.pdf">slides</a>)</li><li>Bias vs variance, regularization</li><li>Feature selection</li><li>Model validation</li><li>Model metrics</li><li>Ensemble method, boosting, bagging, bootstrapping</li><li>Generic topics on deep learning</li><li>Feedforward networks</li><li>Back-propagation and computation graph</li><li>I really liked the <a href="https://gist.github.com/dingran/154a524003c86ecab4a949c538afa766">miniflow</a> project Udacity developed</li><li>In addition, be absolutely familiar with doing derivatives with matrix and vectors, see <a href="http://cs231n.stanford.edu/vecDerivs.pdf">Vector, Matrix, and Tensor Derivatives</a> by Erik Learned-Miller and <a href="http://cs231n.stanford.edu/handouts/linear-backprop.pdf">Backpropagation for a Linear Layer</a> by Justin Johnson</li><li>CNN, RNN/LSTM/GRU</li><li>Regularization in NN, dropout, batch normalization</li></ul><h3>Coding essentials</h3><p>There are a lot of resources online on how to prepare for this, some are already listed in the resources section. I think the key thing is to pick a language and know it really well. For example, for Python, if you claim you know it well and have used in some non-trivial code base. I’ll assume you know why abstract base class exists, how decorator works in general and what @property means along with a few language-specific data structures (like OrderedDict, deque, defaultdict and etc).</p><p>The bare minimum of coding concepts you need to know well.</p><ul><li>Data structures:</li><li>array, dict, link list, tree, heap, graph, ways of representing sparse matrices</li><li>Sorting algorithms:</li><li>see <a href="https://brilliant.org/wiki/sorting-algorithms/">this</a> from brilliant.org</li><li>I think in real life you’ll most likely never implement a sorting algorithm, but I think quick sort is very cool and quick select / partition is used in many other places, so take a look.</li><li>Tree/Graph related algorithms</li><li>Traversal (BFS, DFS)</li><li>Shortest path (two sided BFS, dijkstra)</li><li>Trees related</li><li>TBA</li><li>Heap related</li><li>TBA</li><li>Recursion and dynamic programming</li><li>TBA</li></ul><h3>Calculus</h3><p>Just to spell things out</p><ul><li>Derivatives</li><li>Product rule, chain rule, power rule, L’Hospital’s rule,</li><li>Partial and total derivative</li><li>Things worth remembering</li><li>common function’s derivatives</li><li>limits and approximations</li><li>Applications of derivatives: e.g. <a href="https://math.stackexchange.com/questions/1619911/why-ex-is-always-greater-than-xe">this</a></li><li>Integration</li><li>Power rule, integration by sub, integration by part</li><li>Change of coordinates</li><li>Taylor expansion</li><li>Single and multiple variables</li><li>Taylor/McLauren series for common functions</li><li>Derive Newton-Raphson</li><li>ODEs, PDEs (common ways to solve them analytically)</li></ul><h3>Linear algebra</h3><ul><li>Vector and matrix multiplication</li><li>Matrix operations (transpose, determinant, inverse etc)</li><li>Types of matrices (symmetric, Hermition, orthogonal etc) and their properties</li><li>Eigenvalue and eigenvectors</li><li>Matrix calculus (gradients, hessian etc)</li><li>Useful theorems</li><li>Matrix decomposition</li><li>Concrete applications in ML and optimization</li></ul><h3>Probability</h3><p>Solving probability interview questions is really all about pattern recognition. To do well, do plenty of exercise from <a href="https://www.amazon.com/Introduction-Probability-Chapman-Statistical-Science/dp/1466575573/ref=pd_lpo_sbs_14_t_2?_encoding=UTF8&amp;psc=1&amp;refRID=5W11QQ7WW4DFE0Q89N7V">this</a> and <a href="https://www.amazon.com/Practical-Guide-Quantitative-Finance-Interviews/dp/1438236662">this</a>. This topic is particularly heavy in quant interviews and usually quite light in ML/AI/DS interviews.</p><ul><li>Basic concepts</li><li>Event, outcome, random variable, probability and probability distributions</li><li>Combinatorics</li><li>Permutation</li><li>Combinations</li><li>Inclusion-exclusion</li><li>Conditional probability</li><li>Bayes rule</li><li>Law of total probability</li><li>Probability Distributions</li><li>Expectation and variance equations</li><li>Discrete probability and stories</li><li>Continuous probability: uniform, gaussian, poisson</li><li>Expectations, variance, and covariance</li><li>Linearity of expectation</li><li>solving problems with this theorem and symmetry</li><li>Law of total expectation</li><li>Covariance and correlation</li><li>Independence implies zero correlation</li><li>Hash collision probability</li><li>Universality of Uniform distribution</li><li>Proof</li><li>Circle problem</li><li>Order statistics</li><li>Expectation of min and max and random variable</li><li>Graph-based solutions involving multiple random variables</li><li>e.g. breaking sticks, meeting at the train station, frog jump (simplex)</li><li>Approximation method: Central Limit Theorem</li><li>Definition, examples (unfair coins, Monte Carlo integration)</li><li><a href="https://github.com/dingran/quant-notes/blob/master/prob/central_limit_theorem.ipynb">Example question</a></li><li>Approximation method: Poisson Paradigm</li><li>Definition, examples (duplicated draw, near birthday problem)</li><li>Poisson count/time duality</li><li>Poisson from poissons</li><li>Markov chain tricks</li><li>Various games, introduction of martingale</li></ul><h3>Statistics</h3><ul><li>Z-score, p-value</li><li>t-test, F-test, Chi2 test (know when to use which)</li><li>Sampling methods</li><li>AIC, BIC</li></ul><h3>[Optional] Numerical methods and optimization</h3><ul><li>Computer errors (e.g. float)</li><li>Basic root finding (newton method, bisection, secant etc)</li><li>Interpolating</li><li>Numerical integration and difference</li><li>Numerical linear algebra</li><li>Solving linear equations, direct methods (understand complexities here) and iterative methods (e.g. conjugate gradient), maybe BFGS</li><li>Matrix decompositions/transformations (e.g. QR, Givens, LU, SVD etc)</li><li>Eigenvalue solvers (e.g. power iteration, Arnoldi/Lanczos etc)</li><li>ODE solvers (explicit, implicit)</li><li>Finite-difference method, finite-element method</li><li>Optimization topics: linear programming (and convex opt in general), calculus of variations</li></ul><p><em>Originally published at </em><a href="https://www.dingran.me/quantitative-interview-preparation-guide/"><em>https://www.dingran.me</em></a><em> on May 5, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9e55fd8f43a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>