Skip to content

Abhiram Reddy

Abhiram is a Frontend Engineer. He enjoys writing clean code and sharing his learnings here on matrixread.

Program to Validate Username

Program to Validate Username

Today’s problem, write a program to validate username, similar to the Instagram username validation program, I came up with a simple solution in C++. The problem is very simple, we just need to take care of the rules and limits stated below. Conditions and Rules for Username Can contain Numbers… Read More »Program to Validate Username

Missing Number in Array LeetCode

Find Missing Number in Array LeetCode

Missing Number LeetCode, from the given array we have to find the missing numbers and we were asked to solve this with O(1) extra space complexity i.e constant space and O(n) runtime complexity. This means that we should not use extra space, it should be constant.