Skip to content

Instantly share code, notes, and snippets.

@pradeepvarma22
pradeepvarma22 / gist:39b94dd0474df1a8f12827adc7e2a548
Created June 28, 2020 08:39 — forked from DD3Boh/gist:6c51fd3c5f91b1042e956771483714de
How to merge a newer CAF tag in an android kernel
First go here:
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
This site gives information about all msm soc release details with tag + android version
Search your msm here.. Check the latest one and look for correct android version and mark that tag.
Now open one of the following links (dependent on your linux kernel version)
@nateshmbhat
nateshmbhat / fibonacci.cpp
Created November 30, 2019 01:41
Fibonacci Sequence Dynamic Programming | From Exponential time to Linear time to Constant Time Solution
#include<bits/stdc++.h>
using namespace std ;
// Nth number of FIBONACCI SEQUENCE
// Bruteforce = 2^n , O(1) space
// Top down = O(N) Time , O(N) space
// Bottom up = O(N) Time , O(1) Space
// Math Solution = O(1) Time and Space
int totalCalls = 0 ;
@DD3Boh
DD3Boh / gist:6c51fd3c5f91b1042e956771483714de
Created July 19, 2017 14:59
How to merge a newer CAF tag in an android kernel
First go here:
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
This site gives information about all msm soc release details with tag + android version
Search your msm here.. Check the latest one and look for correct android version and mark that tag.
Now open one of the following links (dependent on your linux kernel version)
@sharmaeklavya2
sharmaeklavya2 / cp_syllabus.md
Last active November 15, 2025 16:15
Competitive Programming Syllabus

Competitive Programming Syllabus

Geometry

  • Problems - Refer the article for a list of problems which can be solved using Rotating Calipers technique.
@amjd
amjd / learn_competitive_coding.md
Last active March 7, 2021 10:29
List of resources on competitive coding

Getting started with Competitive Coding

Tips from from an expert competitive programmer (Anudeep Nekkanti) for someone beginning competitive coding:

If I aim to start programming now, I would do it this way:

  1. Solve 200 most solved problems on SPOJ, Problem by problem. In 2 months. (This will teach all standard problems, algorithms and implementation skills)
  2. Solve problems from CodeChef and CodeForces for 2 months. (This will teach variations, we can read others solutions and learn better ways. Skip easy problems)
  3. Solve problems from TopCoder for 2 months. (This will teach Dynamic Programming. Div 1 500p)
@ecnerwala
ecnerwala / Makefile
Last active November 5, 2025 08:57
Competitive Programming Makefile
# +--------------------+
# | |
# | GENERAL CONFIG |
# | |
# +--------------------+
PROBLEM_NAME := problem_name
DEBUG := true
LANG := cpp
@mycodeschool
mycodeschool / Queue_CircularArrayImplementation.cpp
Last active May 16, 2025 08:46
Queue - Array Implementation
/* Queue - Circular Array implementation in C++*/
#include<iostream>
using namespace std;
#define MAX_SIZE 101 //maximum size of the array that will store Queue.
// Creating a class named Queue.
class Queue
{
private:
int A[MAX_SIZE];