Software Engineer
A Engineer can only understand the Engineer.
People who are not aware of the tech those think Software Engineer = Private Job
Tonk Rajasthan
Today i was solving nu. of island and my infosys exam on 24th so i just skipped tutorials and ask claudeπ that how i prepare he give me this "1 dfs function ko ratt le " and ek binary tree ke height function ko ratt le bas then look easy yaar phle bahut darta tha tree se π #dsa
Hey
@X
I'm looking to #connect with people interested in: - Frontend - Backend - Full stack - Freelancing - Startup - Saas - software developers Say hello & Let's grow together
Kdance's ALgorithm to Finnd the Max SUm of the SubArrau ** it says loop till the array add in current sum ,updatethe max sum if > curr sum ,and most Important is if currentSum < 0 then make it Zero THat all #dsa#infosys#Google
π’ Maximum Subarray #53 Β· Easy Β· LeetCode
π‘ First Loop find Starting, Second Loop find Ending and third Loop sum the element of Sub Array.
β οΈ forget to start the third loop with the i and end with j.
π Brute Force is Legendry
O(n^3) | O(1) | Java | π₯ 31/100
#100DaysOfCode
π’ Two Sum 1 Β· Easy Β· LeetCode
β Solved clear
π‘ Outer loop itereate and inner loop start from the i+1 so does not add himself and add and compare with target and if true then return them
β οΈ Mistake: mistake is not return the 0 at last and using brute force
#100DaysOfCode
Prblm*** ShuffleElement means all even at the first then odd so return the last even number index.
this is the question that i got from #Metacube#Offcampus#Drive so at that pressure time i was not able to solve that not even with bruteforce and What GET REjected π #GET#drive
in my last drive i know the conecept and pattern to solve this question the Pressure make it more difficult π£ like when i tried to sove in paper and when write code at test center forget to handle edge cases ex. check 0 and negative count <=n it should be < only .#dsa#offcampus
3. Write a function to Suffle the element like all the even element are on front and odd are at the end and
return the index of the last even element after suffle.
4. write a Function to find max occurence element in Char Array and return the element.
#infosys#Tcs
Metacube Questions
1. write a Function to find Sum of first n Odd Number in fibbonaci series return sum.
2. write a Function to find max occurence element in String and return the element. #infosys#Tcs#fundas#basics#google#meta#interviews