After doing all the Easys and Mediums on AlgoExpert along with some Hards, I have experienced enough to form an opinion on AlgoExpert. In this article I review AlgoExpert and go over my experiences using it.
Written by Avin Sharma, documenting my programming journey. Check out my Github.
Learn how to add onClick functionality to list items in a RecyclerView with a custom adapter in Android.
Learn how to create a RecyclerView with custom view in Android.
In this tutorial you will learn how to build a simple functional HackerNews client for Android using Jetpack Compose and HackerNews Api
An introduction to Kotlin. Learn how variables, loops, functions, classes, etc work in Kotlin.
In this post I explore Model-View-ViewModel(MVVM) architecture and show how I used ViewModel, LiveData and Repository components in my app to fetch data from Github API.
How to detect change in Android settings and how to add the current selection of a ListPreferences to its summary. In this post I go over how I implemented nSharedPreferenceChangeListener and added selected option as summary in the ListPreference.
Activities get killed or recreated all the time, knowing about the lifecycle of an activity can help us preserve state and data in events like our app being killed by Android, moving between Activities and screen rotations. In this post I give an overview of Activity Lifecycle, discuss the difference between UP and BACK in android and how I wasted a lot of time figuring out why the RecyclerView won't retain its data when moving between child and parent Activities.
In this post I go over how to create the settings screen we see on most of the apps and add a settings screen to the Github Repository App we have been working on.
In this post I go over how to create a simple menu in Android
What are Intents and how you can use them to go from one activity to another in your app or request some action from other apps.
How do we add click functionality to the List Items in a RecyclerView.
Learn how to create a RecyclerView with a custom Adapter. See example of implementing a RecyclerView to display Github repositories.
How do we do a simple parse of JSON data we fetched previously.
What is AsyncTask and how do we use AsyncTask to fetch data from Github API and display the fetched data.
A series on topics that are essential for Android Development. We will go through Async Task, JSON parsing, Recycler View, Intents, Fragments, Android Lifecycle, Content Providers and so on. We will learn about all the topics by implementing them in the app.
Given an array A of integers, return the length of the longest arithmetic subsequence in A. A sequence is arithmetic if A[i] - A[i-1] are same for all the i.
Given an array of prices of a single stock over multiple days, find the maximum profit you can generate in k transactions. You can only buy one stock and cannot buy again before you sell it.
There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: Each child must have at least one candy. Children with a higher rating get more candies than their neighbors. What is the minimum candies you must give?
Reach the last index in the minimum number of jumps. Each element in the array represents your maximum jump length from that position.
KMP algorithm to find substring from a string efficiently.
My solution to the algorithmic problem where we have to find all the sets of 4 numbers that sums up to a target number in an array.
What is this blog about?