Tarun KumarImplementing a Singly Linked List in Python using Operator Overloading (Part 2)Anyone who claims to be interested in coding or programming has heard about this data structure called “Singly Linked List” or just “Linked…Nov 4, 2022Nov 4, 2022
Tarun KumarOperator overloading in Python (Part 1)What is operator overloading?Oct 28, 2022Oct 28, 2022
Tarun KumarFind the k-th largest element in an arrayThis problem is a spicy twist on the regular old “Find the largest element in an array”. In this problem, we are given an array of elements…Oct 21, 2022Oct 21, 2022
Tarun KumarinhackgeniusCoding a discord bot to generate a Pokemon in your discord serverWhen creating a discord server, one of the first things you might think of is how to spice up your server and create a fun place for your…Oct 9, 20221Oct 9, 20221
Tarun KumarinhackgeniusTransform strstr() in C to support wraparound modeIf you already know about the C library function strstr(), you would know that it accepts a string and a sub-string and returns the first…Jun 15, 2020Jun 15, 2020
Tarun KumarinhackgeniusWrite your own strstr() in c using pointersThe C library function char *strstr(const char *hay, const char *needle); accepts 2 strings (A needle and a haystack), and finds the first…Jun 14, 2020Jun 14, 2020