Problem This is the original question https://www.geeksforgeeks.org/union-and-intersection-of-two-sorted-arrays-2/ Given two sorted arrays, find their union and intersection. Example: Input : arr1[] […]
Category: Programming Chalenge
LeetCode Problem 66 : Plus One
Problem I have started practicing problems in leetcode and I solved the following problem on LeetCode. The challenge is : […]
Beginner’s attempt for Project Euler problem 12 (highly divisible triangle number)
Problem I’m a couple weeks into learning Python and I’m working through the Project Euler problems. Problem 12 asks: What […]
“Sharing CANDY” on SPOJ
Problem How can I improve it and its running time efficiency? Problem (SPOJ/CANDY) Jennifer is a teacher in the first […]
CodeChef PRIME1 problem in Python
Problem PRIME1 is a CodeChef problem which states: Shridhar wants to generate some prime numbers for his cryptosystem. Help him! […]
PE4: Largest Palindrome Product (Clojure)
Problem I solved Project Euler 4 using Clojure Lisp. A palindromic number reads the same both ways. The largest palindrome […]
567: Permutation in String
Problem So I’ve been working on this for a few days actually. I implemented a solution to the LeetCode problem: […]
Tape Equilibrium
Problem I picked the first test (Tape Equilibrium) from Codility here. Question: A non-empty zero-indexed array A consisting of N […]
Project Euler: primes in Python
Problem This is a Python module I have just finished writing which I plan to use at Project Euler. Please […]
Median-of-medians/quickselect filter in C
Problem I wrote a quick-select filter in C on Wednesday. (The code is below.) It is a filter in the […]