karan goelDagger2 , OKHttp, Retrofit, AutoValue, RxJava, GSONHaving worked on android for more than 6+ months now, it feels how difficult a code could be to write if not maintained properly. there…Jun 15, 2019Jun 15, 2019
karan goelC++ Iterator as referencehttps://leetcode.com/problems/car-fleet/ Question in considerationMar 10, 2019Mar 10, 2019
karan goelTesting cpp20 along with unique_ptr and lambdaIt is interesting to see how we can use deleter in the newer version of cpp20 along with deleter and stateless lambdas.Jan 15, 2019Jan 15, 2019
karan goelCall by Reference vs Call by ValueWell, it is always good to pass value by reference whenever you can, because with large vector, creating copy could be difference between…Jun 17, 2018Jun 17, 2018
karan goelUsing Thread for condition variable to notify a different threadIn this Program , we have used condition variable so that we can notify the other thread to run at a particular condition.Apr 12, 2018Apr 12, 2018
karan goelWhy should we use Move Constructor in C++Move Operator reduces the system calls of the constructor, and destructor, in C++, and does make programming more efficient.Apr 9, 2018Apr 9, 2018
karan goelOverloading Output and input Stream operator for class“<<” or ”>>” have to be overloaded globally and can’t be overloaded locally, Reasons to overload them 1. To see the output of the class in…Apr 1, 2018Apr 1, 2018
karan goelEmplace_back vs push_backVarious places where we can improve code efficiency when using dynamic arrayMar 30, 2018Mar 30, 2018
karan goelReading Large CSV Files in PythonEasy way to read Large files and manipulate in Python, thank god it existMar 30, 2018Mar 30, 2018
karan goelSample Program for MultiThreading in C++int create_join_thread(pthread_t *thread,void *(*start_routine) (void *), void *arg){Mar 22, 2018Mar 22, 2018