Abhijit chakraGiven a string, find the first element which is non -repetitivethat element must not be present anywhere else in the string.1 min read·Feb 8, 2022----
Abhijit chakraSort an array from lower to higher order without using any sorting functionfunction bubbleSort(arr){1 min read·Jan 26, 2022----
Abhijit chakraAirbnb interview question find all pairs of unique indiceshttps://www.youtube.com/watch?v=dWkA1j-sBPA&t=731s1 min read·Jun 9, 2021----
Abhijit chakrainEverything4CodingFacebook Coding Interview Question — How Many Ways to Decode This Message?Facebook coding interview question and answer — how many ways to decode this message? digit -> 0–9 a->1 b-> 2 …..z->26 here i have…1 min read·Oct 13, 2020----
Abhijit chakraFind the fibonacci of f(n) JavaScriptHere we will find the fibonacci of a number n f(n) = f(n-1) + f(n-2) while n>2 using dynamic programming top down (memorization) technique1 min read·Oct 13, 2020----
Abhijit chakraFind a recurring character in a stringThis is a most commonly asked interview question there many ways to solve this for here we will look for an optimal solution with minimal…1 min read·Oct 12, 2020----
Abhijit chakraSystem.currentTimeMillis() vs SystemClock.elapsedRealtime()System.currentTimemillis is the standard "wall" clock (time and date) expressing milliseconds since the epoch(Unix time is a system for…1 min read·Jul 21, 2020----
Abhijit chakraHow brain makes a decisionEveryday we make some decision like how to dress how to choose the route for office , what to eat , whom to date , whom to marry, whom to…1 min read·Jun 2, 2020----
Abhijit chakraIs human nature fundamentally selfish or altruistic?If you mean selfish in the sense wanting to fulfil own desires by harming others others it No. This is not human nature it’s acquired with…1 min read·Jun 2, 2020----