Skip to content

Instantly share code, notes, and snippets.

View stargatex's full-sized avatar
🎯
Focusing

Lahiru J stargatex

🎯
Focusing
View GitHub Profile
/**
* You are given two sorted arrays, A and B, where A has a large enough buffer at the end to hold B.
* Write a method to merge A and B in sorted order
*/
object TwoArray {
def main(args: Array[String]) {
val x = new Array[Int](12)
val y = Array(2, 6, 4, 8)
val lenX = x.length - y.length
@stargatex
stargatex / .gitignore for Android Studio
Last active June 3, 2016 04:47
Android Studio .gitignore file
# Built application files
*.apk
*.ap_
# Files for the dex VM
*.dex
# Java class files
*.class