HackerRank Solutions – 30 Days of Code – Day 8

HackerRank Solutions – 30 Days of Code – Day 8 Objective Today, we’re learning about Key-Value pair mappings using a Map or Dictionary data structure. Check out the Tutorial tab for learning materials and an instructional video! Task Given  names and phone numbers, assemble a phone book that maps friends’ names to their respective phone numbers. You will then be given an… Read More »

HackerRank Solutions – 30 Days of Code – Day 7

HackerRank Solutions – 30 Days of Code – Day 7   Objective Today, we’re learning about the Array data structure. Task Given an array, A, of  integers N print ‘s elements  A in reverse order as a single line of space-separated numbers. Input Format The first line contains an integer N,  (the size of our array). The second line contains N  space-separated integers… Read More »

Hearing aid support for Android

GOOGLE IS DEVELOPING NATIVE HEARING AID SUPPORT FOR ANDROID 🙂         For the most part, Bluetooth hearing aids have been easily compatible with iPhones, but Android fragmentation has made it difficult for hearing aid manufacturers to provide support to Android devices. Now Google is working to bring native hearing aid support for streaming… Read More »

HackerRank Solutions – 30 Days of Code – Day 6

HackerRank Solutions – 30 Days of Code – Day 6   OBJECTIVE: Given a string, SS, of length NN that is indexed from 00 to N−1N−1, print its even-indexed and odd-indexed characters as 22 space-separated strings on a single line (see the Sample below for more detail). Note: 00 is considered to be an even index. Input Format The first line contains an integer, TT (the number of test cases). Each line ii of the TT subsequent lines contain… Read More »

HackerRank Solutions – 30 Days of Code – Day 4

HackerRank Solutions – 30 Days of Code – Day 4 Objective In this challenge, we’re going to learn about the difference between a class and an instance; because this is an Object Orientedconcept, it’s only enabled in certain languages. Task Write a Person class with an instance variable, , and a constructor that takes an integer, , as a parameter. The constructor must… Read More »

How does the OTP (one time password) work?

How does the OTP (one time password) work? As the name says, One Time Password, it means can be used only once and cannot be reused.  The probability of guessing static password or attack on static password is more comparatively to One Time Password. That is why most of the organizations prefer to use OTP… Read More »