Adonais's notebook


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

Java Snippets

Posted on 2018-10-23 | In Language , Java |
String.indexOf(subString/Character) to find the index of the substring or characters in the string Example usage: 28. Implement strStr()
Read more »

Django ORM

Posted on 2018-10-23 | In Backend , Django |
Retrieve all objects MODEL.objects.all() — Return a QuerySet containing all MODEL objects QuerySet is a iterable 123>>> from heritagesites.m ...
Read more »

MySQL Syntax

Posted on 2018-10-22 | In Backend , Database , mySQL |
SQL Resources SQL teaching SQL Join infographic Return a list of India’s UNESCO heritage sites AS — aliasing of column names LEFT JOIN — returns all ...
Read more »

Understanding Observable, Promise, and Callback

Posted on 2018-10-22 | In Frontend , Angular |
CallbacksA callback is that you register a piece of code (almost always a function) that will run when an event occurs. 12345678<button onclick="my ...
Read more »

[Leetcode] Two Pointers in Fast & Slow Problems

Posted on 2018-10-20 | In Leetcode , Two Pointers , Fast & Slow |
Floyd’s Tortoise and Hare Problem141. Linked List CycleLeetcode: https://leetcode.com/problems/linked-list-cycle/description/ Solution 1: Use fast &am ...
Read more »

[Leetcode] Two Pointers in Sliding Window

Posted on 2018-10-20 | In Leetcode , Two Pointers , Sliding Window |
IntroSliding Window for Substring problem Template:https://leetcode.com/problems/find-all-anagrams-in-a-string/discuss/92007/Sliding-Window-algorithm- ...
Read more »

[Leetcode] Memory and Recursion

Posted on 2018-10-20 | In Leetcode , Recursion , Tail-Recursion |
Memory and Recursion Understand Stack and Heap in Java: https://www.youtube.com/watch?v=450maTzSIvA Heap: Used for dynamic allocation of memory. Onc ...
Read more »

Angular Basics I

Posted on 2018-10-19 | In Frontend , Angular |
Create new project ​ng new PROJECT-NAME​ ​cd PROJECT-NAME​ ​ng serve​ Navigate to ​http://localhost:4200/​ Generate Component ​ng generate component ...
Read more »

Java Basic I

Posted on 2018-10-19 | In Language , Java |
Variables 8 Primitive Variables int width of 32-bit, [-2^32, 2^32 - 1]. After Java 7, a long integer can be written as -2_147_483_648 to be easier t ...
Read more »

[ Leetcode ] Dynamic Programming

Posted on 2018-10-19 | In Leetcode , Dynamic Programming |
Target problemsDynamic Programming is targeting to solve most of the Optimization Problems. Simple Subproblems: there should be a simple way of defin ...
Read more »
1…1314

Adonais0

140 posts
131 categories
112 tags
GitHub Twitter
© 2024 Adonais0
Powered by Hexo
|
Theme — NexT.Mist v7.8.0