Abhijit chakraGiven a string, find the first element which is non -repetitivethat element must not be present anywhere else in the string.Feb 8, 2022Feb 8, 2022
Abhijit chakraSort an array from lower to higher order without using any sorting functionfunction bubbleSort(arr){Jan 26, 2022Jan 26, 2022
Abhijit chakraAirbnb interview question find all pairs of unique indiceshttps://www.youtube.com/watch?v=dWkA1j-sBPA&t=731sJun 9, 2021Jun 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…Oct 13, 2020Oct 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) techniqueOct 13, 2020Oct 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…Oct 12, 2020Oct 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…Jul 21, 2020Jul 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…Jun 2, 2020Jun 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…Jun 2, 2020Jun 2, 2020