![]() ![]() if n=0, print the time in hours & minutes.įor every index i we are first setting the ith bit high, then setting it low to look for different bit combinations.calculate hour & minute values, if it is valid proceed, else return.We see every index in str has two possible cases: We have to try all the combinations for set bits with the given n number of bits, so we will set every bit of str as 1 once and calculate hour and minute values, if the values lie in the range 0-11 & 0-59 respectively, we will keep this combination of set bit and recur for the next index of str to to try other combinations. First 6 bits in str will be reserved for minute and next 4 bits for hour. There can be atmost 10 set bits so we can use an array str of size 10. Backtracking algorithm is generally exponential in time. If any subproblem does not fit the given constraint then we discard the complete subproblem, moves a step back then try other remaining possible combinations. We need to explore all the possible combinations for set bits which can be solved with backtracking.īacktracking is the approach to solve the problem by testing all possible combinations. If it is valid we will consider it else try other combinations which are valid. Idea is to set ( 1) every bit once and see if the generated value is a valid value for hour (0 to 11) or minute (0 to 59). There can be atmost 10 set bits, 4 bits for hour and 6 bits for minutes. See original problem statement here Solution Approach : Introduction : Hour (0 to 11) can be represented by 4 bits and Minutes (0 to 59) can be represented by 6 bits. call me.Given n set bits, we have to determine all the time that can be represented by those number of set bits. Our on line training is some of the best around. Looking for a speaker for your event? I go around the country helping companies communicate better with their customers. at Telephone Doctor, we practice what we preach" Call us and check it out. While it helps and certainly is best to answer before the fifth or sixth ring, what matters MORE is HOW the phone is answered. We're strong on skills - tips, techniques and 'how to'. Here’s the Telephone Doctor certified prescription. Answer as soon as you possibly can and if you feel the phone has had too many rings, simply use the Telephone Doctor buffer. No one has ever made a big deal about it. Like when you bump into someone at the Mall.and say "excuse me" It appeases them. The caller is relieved and so appreciative that the number of rings was acknowledged. ![]() “I’m sorry it rang so long, Telephone Doctor’s office. Rather than say “Thank you for calling” (or whatever you use), insert our BUFFER as you answer the call that rang too long, (in your opinion) with: I’ve created a simple BUFFER when you feel the number of rings has gone on too long. So what’s a person to do? Here’s the Telephone Doctor certified prescription. He’d never had to answer a phone other than take the call when it came to him. He stalled - thought and then said, “Well, I thought that’s what you should do.” Boss and asked where he got that information. Had a young lady tell me one time, “My boss makes me answer by the 3rd ring.” I said, “Where is your boss?” She pointed to him. ![]() What's most importnat is learning HOW to answer it. . There are simply times when a human being cannot get to a phone on the first ring or the third ring and sometimes not even on the fifth ring. They never had to answer 6 lines or even one line on the other side of the room or perhaps never had to answer the phones. I’m gonna bet whoever suggested those never sat on the other side. Obviously “someone” suggested, on the first ring and someone else suggested by the third ring. I’m also not sure who deemed the number of rings to be the right answer. All within corporate America and also in forming our company Telephone Doctor Customer Service Training corporate America’s leader in telephone skills and customer service. Not sure how many other folks giving out customer service information have sat on the “other side” of the fence. including: "My boss says" … blah, blah, blah. It’s an ongoing question whenever we cover phone topics.Īnswer on the 3rd ring? Get it on the first ring.? By Nancy Friedman, Keynote Speaker, Customer Service Expert and President of Telephone Doctor Customer Service Training ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |