Skip to content

Instantly share code, notes, and snippets.

View arjunsk's full-sized avatar
:octocat:
Learning!

Arjun Sunil Kumar arjunsk

:octocat:
Learning!
View GitHub Profile
@arjunsk
arjunsk / q1.cpp
Last active December 15, 2016 05:18
CODEKAT HUNTER SET1
/** Coded By Xvamp999 **/
#include <bits/stdc++.h>
using namespace std;
unsigned long long mod=1000000007;
int main(){
int n;
@arjunsk
arjunsk / The Technical Interview Cheat Sheet.md
Created December 20, 2016 16:15 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.

Keybase proof

I hereby claim:

  • I am arjunsk on github.
  • I am arjunsk (https://keybase.io/arjunsk) on keybase.
  • I have a public key whose fingerprint is 162F 0D14 F62E 64E6 5544 446B 7075 7088 EB59 6766

To claim this, I am signing this object:

@arjunsk
arjunsk / privacy-policy.md
Last active November 22, 2023 02:24 — forked from federicoiosue/privacy-policy.md
Android App Privacy Policy

Privacy Policy

Privacy image

Introduction

Thank you for using my software! This document is the main privacy policy for Numbo Android applications. I respects your privacy rights and care about protecting your information collected by my apps.

What information are eventually collected

package decorators;
public interface IWindow {
public String render(String data);
}
package decorators;
public class BasicWindow implements IWindow{
@Override
public String render(String data) {
return " :BASIC: "+ data + " :BASIC: ";
}
}
package decorators;
public abstract class ScrollDecorator implements IWindow{
IWindow window;
public ScrollDecorator(IWindow w){
this.window = w;
}
@Override
package decorators;
public class VerticalScrollDecorator extends ScrollDecorator {
public VerticalScrollDecorator(IWindow w) {
super(w);
}
@Override
public String render(String data){
package decorators;
public class HorizontalScrollDecorator extends ScrollDecorator {
public HorizontalScrollDecorator(IWindow w) {
super(w);
}
public String render(String data){
return " :HORIZONTAL: "+ window.render(data) + " :HORIZONTAL: ";
package solver;
import decorators.BasicWindow;
import decorators.HorizontalScrollDecorator;
import decorators.IWindow;
import decorators.VerticalScrollDecorator;
public class DecoratorDriver {
public static void main(String args[]){