↳
@Rajiv : Your solution is completely wrong. It will fail for input of "aaa" Reason: on first check, you insert "a". On next check you remove it. On next check you again insert it and return that as your answer, even though it was repeated thrice. Less
↳
program to find first non repeating character in a string c# - three ways
↳
My python implementation: def firstNonRepeatingCharacter(inputString): hashmap = {} for x in inputString: if (x in hashmap): hashmap[x] = hashmap[x] + 1 else: hashmap[x] = 1 for x in inputString: if (hashmap[x] > 1): continue else: return x return "No nonrepeating character found" Less
↳
Hey, you should feel glad that you weren't accepted by them. This company is very cheap and doesn't treat its employees well. Less
↳
I guess...but it is not the right way to interview candidates don't you think?
↳
That's really sad. They should rather go with Skype or any other means to interview. Now,. I have got an on-site call for Digital circuit design and I am giving it a serious thought 🤔 Less
↳
It is a closed system as electricity is adding energy into the room. After a long time passes, the temperature increases as there's energy going in, but not leaving. Less
↳
It's a closed system. Since the efficiency of heat transfer is not 100%, will generate heat and eventually heat up the room. Less
↳
Since there is energy going into the room, it is open system without mass transfer. The room temperature will increase. Less
↳
Without an enable bit on at least one of the mux's the maximum inputs would be 7. Less
↳
I don't see it being possible with three standard 4-1 muxes... Using 4, this question is straight forward... The two selects of each mux are your 8 inputs... tie out put of each mux to the (11) case input to the mux. Less
↳
We need 3 4:1 MUX and a And gate. Are we allowed to use 'and' gate?
↳
This is 100% a scam.
↳
Good work ethic, treat all information as confidential, deliver on time, treat clients with respect, not belittle my colleagues’ work, and up to date with trends Less
↳
Was this legit? I am having my doubts, just due to how the interview process is being handled. Less
↳
I interviewed for the same position with the same positive interview and questions. I noticed you have offer accepted marked. Have you already heard back? Less
↳
Not yet! Based on the hiring calendar I think notification will be within the next couple weeks. Less
↳
Ugh. I hate waiting. Good luck!
↳
full adder can be got by 2 half adders and one OR gate; one half adder can be got by XOR, AND. Therefore, we need only OR, AND, XOR. All these three gates can be got by using MUX.? Less
↳
Can be implemented using 8 Muxes.
↳
sum = a xor b xor cin carry = (a xor b) cin + ab You can easiy make XOR, OR AND, NOT using 2:1 mux. So 8 mux ?!? Less
↳
Since they've clearly told sliding. Acceleration along the ramp is independent of the mass or the moment of Inertia. Hence, both reaches down at the same time. Less
↳
Solid bar, smaller moment of inertia allows it to spin faster
↳
Solid reaches first