Gaana4 open jobs

Android Developer

MobilePosted over 2 months agovia Himalayas, a remote job board

Work type
RemoteIn India
Experience
2–6 years
Pay
Not listedUsually ₹5.1–9.0 LPAMobile, median at 1–9 years, in India (Payscale)
Posted
Over 2 months agoOpen 2 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Android, Java and Kotlin

About the job

About Gaana

Since its inception in 2010, Gaana has been making giant strides in the digital music space. We are India’s No. 1 music streaming company, and believe in offering the most inclusive and intuitive music streaming experience to Indians.

We respect and get inspired by diversity. Our online music catalogue includes International and Indic music in more than 21 languages including Hindi, English and all major regional languages such as Assamese, Bengali, Bhojpuri, Gujarati, Kannada, Malayalam, Marathi, Oriya, Punjabi, Tamil and Telugu. Additionally, we host over 30,000 podcasts, making us one of the leading podcast platforms in India. With our massive music & podcast library, combined with best in class recommendation and search and features like Voice Assistant, Live Streaming and Lyrics, we are a front runner in our industry.

We count on our amazing, diverse & talented team to solve the biggest challenges in tech, product & design to keep bringing music to more ears around the world.

Our vision is shared by our investors Times Internet Limited and Tencent. Times Internet, the digital arm of The Times Group, is India’s leading digital products company which has been instrumental in transforming India’s digital landscape with its wide range of innovative products that Inform, Entertain & Enable users globally. Tencent is one of the world's most valuable technology companies and one of the world's largest venture capital firms and investment corporations.

Some of its services are all among the world's biggest and most successful in their respective categories.

What’s there for you?

  • Developers are working on all the latest components, architectures and libraries to make the codebase modular and maintainable.
  • Every developer is provided with the platform to showcase their technical skills and they also pitch their innovative ideas ranging from improving user experience to new features to improving app security and the list goes on.
  • Everyone shares ownership and vision to make the product reach to a new high.
  • We work on many different mini apps, we have apps for Android auto, Android TV, Fire stick, Alexa, Google home.
  • We have partnerships with multiple OEMs to provide them the Gaana App as per their customization.
  • We are also an entertainment partner with MG motors for their car infotainment device.

Required Skills:

● Data Structures & Algorithms

  • Design patterns & Android architecture components
  • Strong knowledge of Core JAVA, Kotlin and UI controls
  • Demonstrated ability to design and build dynamic multi-threaded mobile apps and SDKs

Professional & Academic Eligibility:

  • B.Tech/B.S or M.Tech/M.S in Computer Science, or equivalent work experience
  • 2 to 6 years of Android development experience

Job Responsibilities:

  • As a part of the team managing the application for Android users, this role designs, maintains and continuously improves the application basis requirements and user feedback.
  • Designs, builds and maintains high performance, reusable, and reliable code.
  • Ensures the best performance, quality, and responsiveness of the application.
  • Works towards identifying and correcting bottlenecks by fixing bugs in the code/application.
  • Helps maintain code quality, code optimization and automation.

We’ve been growing very fast and don’t really feel like taking our foot off the gas. We believe that no problem is too big or too small to be solved. We would love to have you along for the ride if you have the passion to be a part of a tremendous growth story!

Originally posted on Himalayas

Interested?Android Developer at Gaana

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Android, Java and Kotlin

Interview questions for this job

For the skills the ad mentions: Android, Java and Kotlin.

393 questions
  • What do you know about ArrayMap?Android

    ArrayMap

    ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional HashMap. It keeps its mappings in an array data structure - an integer array of hash codes for each item, and an Object array of the key/value pairs. This allows it to avoid having to create an extra object for every entry put in to the map, and it also tries to control the growth of the size of these arrays more aggressively (since growing them only requires copying the entries in the array, not rebuilding a hash map).

    Note that this implementation is not intended to be appropriate for data structures that may contain large numbers of items. It is generally slower than a traditional HashMap, since lookups require a binary search and adds and removes require inserting and deleting entries in the array. For containers holding up to hundreds of items, the performance difference is not significant, less than 50%.

    Because this container is intended to better balance memory use, unlike most other standard Java containers it will shrink its array as items are removed from it. Currently you have no control over this shrinking - if you set a capacity and then remove an item, it may reduce the capacity to better match the current size. In the future an explicit call to set the capacity should turn off this aggressive shrinking behavior.

    This structure is NOT thread-safe.

    How ArrayMap works

    ArrayMap uses 2 arrays. The instance variables used internally are Object[] mArray to store the objects and the int[] mHashes to store hashCodes. When a key/value is inserted:

    • Key/Value is autoboxed;
    • The key object is inserted in the mArray where on the index in which it needs to pushed is searched using the binary search;
    • A value object is also inserted in the position next to key’s position in mArray[];
    • The hashCode of the key is calculated and placed in mHashes[] at the next available position.

    For searching a key:

    • Key’s hashCode is calculated;
    • Binary search is done for this hashCode in the mHashes array. This implies time complexity increases to O(logN);
    • Once we get the index of hash, we know that key is at 2*index position in mArray and value is at 2*index+1 position;
    • Here the time complexity increases from O(1) to O(logN), but it is memory efficient. Whenever we play on a dataset of around 100, there will no problem of time complexity, it will be non-noticeable. As we have the advantage of memory efficient application.

    Example of usage

    import androidx.collection.ArrayMap
    class ArrayMapExample {
        fun example() {
            val arrayMap = ArrayMap<String, String>()
            arrayMap["USA"] = "Washington"
            arrayMap["Germany"] = "Berlin"
            arrayMap["France"] = "Paris"
            arrayMap["Italy"] = "Rome"
            arrayMap["Australia"] = "Canberra"
            for (i in 0 until arrayMap.size) {
                println("Country = " + arrayMap.keyAt(i) + ", Capital = " + arrayMap.valueAt(i))
            }
        }
    }
    

    Output:

    Country = Australia, Capital = Canberra
    Country = USA, Capital = Washington
    Country = Italy, Capital = Rome
    Country = Germany, Capital = Berlin
    Country = France, Capital = Paris
    

    Links

    https://developer.android.com/reference/android/util/ArrayMap
    https://medium.com/@mohom.r/optimising-android-app-performance-with-arraymap-9296f4a1f9eb

    From Android Interview Questions (Apache 2.0)

  • Explain: HashSet vs TreeSetJava

    HashSet vs TreeSet

    HashSet class implements the Set interface, backed by a hash table (actually a HashMap instance). It makes no guarantees as to the iteration order of the set; in particular, it does not guarantee that the order will remain constant over time. This class permits the null element.

    This class offers constant time performance for the basic operations (add, remove, contains and size), assuming the hash function disperses the elements properly among the buckets. Iterating over this set requires time proportional to the sum of the HashSet instance's size (the number of elements) plus the "capacity" of the backing HashMap instance (the number of buckets).

    TreeSet class implements the Set interface that uses a tree for storage. It inherits AbstractSet class and implements the NavigableSet interface. The elements are ordered using their natural ordering, or by a Comparator provided at set creation time, depending on which constructor is used.

    TreeSet is basically an implementation of a self-balancing binary search tree like a Red-Black Tree. Therefore operations like add, remove, and search take O(log(n)) time. The reason is that in a self-balancing tree, it is made sure that the height of the tree is always O(log(n)) for all the operations. Therefore, this is considered as one of the most efficient data structure in order to store the huge sorted data and perform operations on it. However, operations like printing N elements in the sorted order takes O(n) time.

    Property HashSet TreeSet
    Ordering Does not maintain any order Maintains an object in sorted order
    Comprasion Uses equals() method Uses compareTo() method
    Data structure Implemented using HashTable Implemented using a tree structure
    Null element Allowed Not allowed
    Performance Time complexity average - O(1) Guaranteed O(log(n)) time cost for the basic operations

    Links

    https://docs.oracle.com/javase/7/docs/api/java/util/TreeSet.html
    https://docs.oracle.com/javase/7/docs/api/java/util/HashSet.html
    https://www.geeksforgeeks.org/hashset-in-java/
    https://www.geeksforgeeks.org/treeset-in-java-with-examples/
    https://www.geeksforgeeks.org/hashset-vs-treeset-in-java/
    https://www.tutorialspoint.com/difference-between-tree-set-and-hash-set-in-java

    From Android Interview Questions (Apache 2.0)

  • What do you know about companion object?Kotlin

    сompanion object

    If you need to write a function that can be called without having a class instance but that needs access to the internals of a class (such as a factory method), you can declare a companion object inside your class and access its members using only the class name as a qualifier1:

    class MyClass {
        companion object {
            fun createInstance(): MyClass = MyClass()
        }
    }
    

    Now we can call the function createInstance() using only the class name:

    val instance = MyClass.createInstance()
    

    Named Companion Object

    By default, a companion object’s name is Companion. However, it is possible to rename it. Let’s implement a Factory Method design pattern in its simplest form. The Factory Method design pattern handles object creation. We’ll implement this design pattern using a companion object. Let’s name its companion object Factory:

    class MyClass {
        companion object Factory {
            fun createInstance(): MyClass = MyClass()
        }
    }
    

    Now, if we prefer to make use of the companion object by the dedicated name, simply place it after the class name:

    val instance = MyClass.Factory.createInstance()
    

    Why Use Companion Objects?

    Companion objects offer several benefits:

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • Explain: -nodpi, -anydpi qualifiers for resourcesAndroid

    From the Google-android source code

    nodpi: Fallback

    • A drawable inside the res/drawable-nodpi/ folder is valid for any screen density. Eg. drawable-nodpi/ic_icon.png The above icon will will look small on xxxhdpi devices and big on ldpi devices.

      drawable-hdpi/ic_icon.png drawable-nodpi-21/ic_icon.xml In android 21 hdpi devices ic_icon.png will be used and in android 21 xhdpi devices ic_icon.xml will be used.

    anydpi: Takeover

    • A drawable inside drawable-anydpi is also valid for any screen density but anydpi variant has more priority over any density specific variant.

      Eg. If we have res/drawable-anydpi/ic_icon.xml and res/drawable-xxxhdpi/ic_icon.png then ic_icon.xml will be used even in xxxhdpi devices.

      -Most of the times -anydpi used in conjunction with other qualifiers. A good example is anydpi-v21 as vector drawables were introduced in android 21 , so after that we usually have res/drawable-anydpi-v21/ic_icon.xml (Vector drawable) and res/drawable-xxhdpi/ic_icon.png. The vector drawable (ic_icon.xml) will be used in all android 21+ devices and ic_icon.png will be used in xxhdpi devices runing in android 4.4 or older

    From Android Interview Questions (Apache 2.0)

  • What is the difference between StringBuilder and StringBuffer?Java

    All public methods of StringBuffer are synchronized, it provides Thread safety but on a performance cost.

    From Java interview (MIT)

  • Why did you leave your last job?Behavioural

    The employer may ask you questions about leaving your last job.

    If you've been out of work for a long time, explain why. Talk about the positive things you've done while away from work. For example, networking, retraining, volunteering or keeping fit.

    If you:

    • left by choice: be positive about why you want a new job and describe why their company suits you better
    • got made redundant: explain the situation, be positive and describe how you've responded since
    • were fired for misconduct or poor performance: explain why your standards dropped, what you've learned and how you've improved since the experience

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Mobile developer jobs in India (165) and Remote Mobile developer jobs in India (94)