Easily share code snippets quickly

An Integrated Development Environment (IDE) is quite a powerful instrument as an online application for quickly composing and sharing code snippets through a natural, intuitive and handy interface. The latter offers live previews and separate windows for CSS, HTML and JS, as well as includes numerous helpful instruments such as pre-installed JavaScript libraries, support for pre-processors languages, code generator, tools for collaborative work and others.

We have compiled a list of outstanding places to share code snippets quickly. So if you are dying to get started, just select the best medium for you.

Codepad : [https://codepad.co/]

Screen Shot 2016-08-13 at 2.23.14 PM

Codepad is a new platform that is well-suited to developers of various spheres. Whether you are specializing in ActionScript or C-Sharp, the service will suit you up with a handy environment for writing, testing, saving and sharing your code snippets online.

Depending on the task, you can create public, private and part-private snippets as well as gather all the projects under one roof thereby compiling a collection.

With an active community, you can also follow fellow developers, find out new solutions and get inspired by other creations.

GitHub Gist

Screen Shot 2016-08-13 at 2.22.42 PM

Much like the previous example, GitHub Gist is one of the preferred choices among developers when it comes to building open-source projects. You can create public or secret gits, accompany each code snippet with the documentation or helpful instructions, and update it whenever you need to. What’s more, anyone can comment or fav it.


Screen Shot 2016-08-13 at 2.27.32 PM

Codeshare is another “no-sign-up-required” frontend editor that offers developers a handy playground with an intuitive interface and a small set of valuable tools. Simply write or paste code, share a link with colleagues and discuss and solve a problem together. Moreover, there is a video chat powered by WebRTC to collaborate in real-time. The only drawback is that your project will disappear from the server in 14 days.


Screen Shot 2016-08-13 at 2.32.23 PM.png

jsFiddle gets straight to the point. Being one of the first in this area, it carved a niche for itself a long time ago. There is no welcoming landing page that highlights features of the playground or shows the work of others; however it does what it should do – provide coders with the smart board to mix and match various techniques to achieve the desired result.

The homepage is broken into four sections where you can write in HTML, CSS, and JavaScript and see the effect in real time. It has several particular qualities such as:

  • Typescript support
  • Auto-saving for local drafts
  • JavaScript libraries
  • Collaboration tools for teams
  • Intuitive and efficient way to generate embed code and more


Screen Shot 2016-08-13 at 2.34.11 PM.png

With more than 50,000 registered members, CSSDeck is a leading platform for writing and sharing source code. Although the nameplate suggests that it is concentrated with CSS, you can build concepts that are centered around HTML and JavaScript.

You do not have to own an account to get down to business. Nevertheless, if you want to enjoy all the perks, you’d better create one, and it is entirely free.

Original Post : Please click here

Thanks Friends

Keep Coding 🙂




iConcepts: How to Interview Programmers

How to Interview Programmers

Reference Source : Here

Google has finally come clean that they figured out what many of us have been repeating for years: brain teasers in interviews don’t lead to measurably better employee outcomes.

I’ve never interviewed at Google but I did interview at a company that asked me a “brain teaser” question. It wasn’t one off of the shelf, but based on natural conversation (I mentioned I was a frequent-flier, so I had to calculate some aviation-related things that were very similar to “Guess the # of piano tuners in NYC”.). It was very difficult to resist the urge to blurt out: “Do you have any idea what you are doing?”

These aren’t just wacky – they’re stupid. Not only do these questions bear little resemblance to anything we do in software development, it’s lazy to use brain-teasers. “Let’s spend 30 seconds thinking up a few puzzles then have the candidate spend a few hours answering them.” Recruiting should be your number one priority! Treat it like it’s more important than the semi-annual flossing you do the the day before your dentist appointment, ok?

I have gotten too many job offers after inadequate interviewing to think that interview incompetence is anything but prevalent in our industry. Luckily for them, I’m excellent at what I do, but plenty of other startups lose the hiring lottery. You don’t need to be one of them!

Over the years I’ve refined my process to weed out people from the very start and provide repeatable, scalable interviews that organizations can trust.


Hiring is the most important thing you can do as an organization. Yes, more important than building software, selling it, and cashing fat checks. Without your people, your organization is nothing. You’ll need to trust them to act independently with minimal oversight.

The interview process starts long before candidate XYZ lands on your jobs page.

Before you hire your first person
  • Figure out your culture. Most startup CEOs/Founders/CTOs that I talk to have no discernible idea what their culture is. How can you hire for cultural fit if you don’t know what it is?
  • Make sure everyone on the team interviews every candidate. If you’re large enough, include people from other teams.
  • Make sure everyone on the team knows how to interview, based on a checklist/plan. Instead of Bob asking the same SQL questions that he came up with in 1993, have a guide that each person can consult. Have each person write down what they are going to talk about and go through it as a group. What are you trying to look for? How do you know if you found the answer?
  • Don’t ask the same thing twice. I’ve been in day-long interviews and had to “tell [person X] about [myself]?” six times. I didn’t accept an offer at that company: clearly they have communication and organizational problems.
  • Conduct mock-interviews to level up your hiring capability.
  • Have your developers take the coding challenges so they can provide intelligent guidance (and make sure that the challenge works / is still relevant. I’ve been in an interview where the coding challenge had an unintentional bug and wouldn’t work as stated.)
During the interview tips
  • Be open and honest. Power distance in interviews is heavily in your favor; be the first to offer salary and equity ranges for the position. Don’t ask them “what’s your bottom line salary?” – you should have a well-defined technical ladder that outlines the career path of a developer within your company. No tricks, just fair, equitable, and transparent progress.
  • Tailor the interview to the candidate. If someone has spent 30 years writing compilers, don’t ask them “What is a pointer?”. For someone fresh out of school, ask more CS-y questions. Many companies have the same set of Q&A for every candidate and it shows both a lack of effort and turns candidates away. If you’ve gone to the trouble to bring a candidate into the office, don’t waste your and their time – researching the candidate shows that you are truly interested in them and what they have to offer.
  • Don’t “lead the witness”. I’ve sat in depressingly many interviews (on both sides of the table) where someone asked a question like: “So, do you perform Test Driven Development or do you simply ‘Cowboy Code’”? Any smart candidate, regardless of whether or not they’ve even heard of TDD, will read between the lines and tell you exactly what you wanted to hear.
  • Ask topgrading-style questions and be careful not to let your biases be used against you.
  • Have your shit together. Make sure that the person who is helping the candidate out gets everyone in the right place at the right time. The candidate is interviewing you and your organization as much as you are interviewing them. The best candidates are interviewing at companies that getthis.
  • Make lunch reservations at a nice sit-down restaurant. The best teams eat lunch together.
  • Everyone must give a thumbs up or thumbs down (and why, based on the above). The rationale is just as important as the rating. Why do or don’t they fit the culture? Why will they raise the collective skills of the team (you do measure that, right?). If you don’t like the color of the t-shirt they wore to the interview, tough. That’s not a reason to not hire someone.
  • If they are going to be issued an offer, send it ASAP.
  • If not, thank them for their time and explain they will not be moving forward. Do this as soon as possible.

Pre On-Site Interview

Initial phone screen (30-45 minutes)

Just a few background questions (why are you looking for a job, what sounds interesting about what we are doing, what is your current salary, etc.). (This should take about 30-45 minutes.) The goal is to make sure the interviewee meets your “deal-breakers” (you should have a list) and vice-versa, and minimize the amount of people who slip through the cracks that later don’t take an offer (or you don’t issue one) because of knowable conditions that wouldn’t allow them to be successful in the role.

Be sure to talk about the company culture, how the company makes money (being profitable helps), the fundraising situation, how large it is, etc. – these answers will help a candidate self-select to move forward in the process. If they don’t want to work at a 3 person startup – why waste your and their time by continuing with phone screens and on-site interviews?

For example, if you don’t allow work-from-anywhere, be up front and explain that in this interview. Most programmers expect it nowadays (and you’re silly if you don’t offer it). Why spend thousands of dollars to fly them out only to have them turn down your offer because of that?

Second phone screen (1-2 hours)

After the deal-breaker conversation, at least you and the candidate are not immediately disqualified. Now, let’s figure out if they actually can program. Ask a bunch of topgrading questions then a few FizzBuzz-style questions to make sure they can actually program.

For the coding challenges, I use some sort of screen-share program like TeamViewer. I ask them to open a REPL in the language of their choice and write a series of simple programs (I construct a special URL that has the instructions they can use so I don’t have to read it over the phone).

They are not fizz-buzz (because folks have figured out they need to know it) but similar time/space challenges.

On-Site Interview

If they pass these, then bring the person out for a day of in-person interviews (flying first-class, provided it’s not prohibitively expensive, picked up at the airport in a nice car, all that jazz).

If the candidate is at all good, they will be fielding many offers – if you can take care of them from the start of the process it will help you stand apart from the crowd. Don’t go overboard – a driver in a tux sends a strange message – but show that you care.

Day’s events

  • Tour the office, show off the fancy espresso machine in the break room, etc.
  • Explain the day’s events (basically, show them this list)
  • A few programming challenges (of increasing difficulty) that involve stuff the candidate would use on the job, extracted from, or related to, our problem domain.
  • Lunch
  • Then pair programming for the rest of the day to make sure we can all get along with this person (continuing through the next day if possible).
  • Fancy car ride back to their hotel (not the airport). Try and give them more than a day in your city; if you have the budget, give them the whole weekend.

Programming Challenges (2-4 hours)

You need to see if this person can solve challenges that are harder than FizzBuzz but won’t take them 3 weeks. They should be difficult enough that they can’t solve it by memory but not require much esoteric knowledge (unless you’re looking for that). It’s “open-book” – Google, Stack Overflow, etc.

In the initial interview I ask their preferred development environment (OS, editor, etc.) and setup a computer thusly, so that they should feel more-or-less at home. Alternately, if it’s specialized enough, I have them bring in their own laptop and work off of that.

I have a Github repository that is already setup with a basic test suite and a bunch of problem sets that they can choose from. If you are setting out to build this repo from scratch, I highly suggest something like RubyQuiz or maybe CodeQuizzes.

For example, you might have them implement a local script that takes either a Zip code or city name and prints out the current weather.

The goal is to see if they can solve a real-world problem that either we have solved or is representative enough of what we do on a daily basis to be a good predictor of future performance (weather involves dealing with/parsing an API, and how do you automatedly-test a 3rd party API?).


Self-explanatory. Have lunch, break bread with them. Everyone on the team attends. This is the proverbial “have a beer with them?” test. Let them lead, ask them open-ended questions.

Pair Programming

If you had the applicant sign an NDA that grants the company ownership of the code, (you don’t want them to work on production code, then come back later and claim that you owe them some equity or compensation) have each developer prepare some tasks on the real code-base that are complicated and require some problem solving. Often I find some bugs that I think are tricky, track down the solution (but I don’t fix it), then I can have them try it. Debugging requires building up complex mental models of how the code works, and it also tests how they might react when presented with difficult problems.

If they haven’t/won’t sign an ownership agreement (I’ve never had someone do this) then take some open-source project you use and have them work on adding some new functionality to it that you need. Contributing to Open Source Software should be a core part of your business – and the licensing means that your business is not put at risk.

Reference Checks

July 2 update. An anonymous commenter asked about reference checks. They completely slipped my mind, but in my experience the value of the reference check is pretty variable. I’d be curious to see if Google has any data that suggests it’s a good predictor of future success.

At bigger companies, legal has beaten into everyone’s heads that reference checks are sources of liability and should stick to factual information only: Did such-and-such work here, for the terms stated (the role and time-frame), and at what salary, etc.

I’ve never been able to extract actual meaningful information, but sometimes you can read between the lines.

At smaller companies, you’re much more likely to get the founder/CTO on the line and chat about their work habits. Of course, the candidate hand-picked these people because they are going to give a rosy picture – all reports you get must be taken with a grain of salt.

If you get a reference that gives a negative picture, I suppose that is a good reason to cut and run, but I can’t imagine any candidate worth hiring would make that sort of mistake. For me the only question I need answered is: “Would you hire XYZ again?” – if it’s a “no”, then I tend to run.

I’ve heard some folks do friend-of-a-friend – ask people who no longer work there about candidate XYZ. Personally I’ve never done it but I can see that might be more diagnostic, but I think the ethics are probably pretty dicey.

(What is better – candidates should interview former employees. Really interesting. Same grain of salt applies; I’ll follow-up later in a “How to interview companies” post.)


If possible, put a new hire on a 1 month contract before you make a final offer. The contract rate is the equivalent salary for the position, but you need more data to make sure it’s a fit. If they are clearly not a fit, give them a generous severance and assistance in finding a job elsewhere.

If they are a fit, issue a final offer (using the same salary as before) with the equity grant (how can you judge future multiplier potential after one interview?).

I understand not every candidate can and will agree to a one-month contract. In that case, make them an offer, slot them in to your ladder where you expect, but withhold the equity component until the end of the month, unless it’s a standard amount (the later the stage of the company, the less variable the equity calculations).


Evan Hensleigh (@futuraprime) notes:

“Good advice! But I’m not sure about the contract period. You might be turning away good people who need, e.g., health insurance.”

Fair point. In that case, I’d be more than happy to offer a bump in the contract rate to include 1 month of their previous employer’s COBRA. Ultimately, most US states are “at will” employment – you can be fired at any time for any reason. A few benefits aside (which can be resolved) being fired after one month is functionally equivalent (provided you treat the employee as a contractor under the rules of your state).

Thanks 🙂 Keep Coding 🙂


iConcepts : Mobile Emulators & Simulators: The Ultimate Guide

Mobile Emulators & Simulators: The Ultimate Guide


Reference Source  : See Here

I’ve mixed all this information to create this ultimate guide to 37 download resources for hundreds of emulators and simulators. Enjoy!

This list includes content from Programming the Mobile Web book with frequent updated information & links.

List of mobile and tablet emulators for mobile web design & development testing
Name Official Platform Type Browser testing Native testing Compatibility


Official iOS Simulator Safari only Objective-C MacOS
Download3.7Gb (login required) Devices: iPhone 3GS, iPod Touch, iPhone 4, iPad (Tablet)
Comes with XCode and Native SDK. You can’t emulate Accelerometer/Gyroscope(DeviceMotion API). You can’t emulate URI-schemes, such as click-to-call. As a Simulator, it doesn’t provide an AppStore; you can’t install other browsers for testing, such as Opera Mini or Skyfire.


Official Android Emulator Android Browser – others Java WindowsLinux
Download20Mb and 60Mb per platform package Devices: Generic devices using 1.1, 1.5, 1.6, 2.0, 2.1, 2.2, 2.3, 3.0 O.S. platform
We need to download images of the platforms after downloading the SDK. Look atChapter 4 of the book for details. After downloading the platform, you can installFirefoxOpera MiniOpera MobileSkyfire and UCWEB in your Android emulator for testing. You can download Motorola, Samsung and Nook add-ons (see below). Now it includes tablet support in HoneyComb (3.0)


Official webOS Virtual Machine webOS Browser JavaScript – C++ WindowsLinux
Download260Mb Devices: Palm Pre, Palm Pixi, Palm Pixi Plus
Comes with SDK


Official Android Add-on Android Browser – others Java WindowsLinux
Download52Mb Devices: Samsung Galaxy Tab (Tablet)
Requires Android SDK with 2.2 package. The download is done using the Android 2.3 SDK searching for third-party packages.


Official Android Add-on Android Browser – others Java WindowsLinux
Download2Mb Devices: Motorola Xoom (Tablet)
Requires Android SDK with 3.0 package. It’s only a skin for the emulator.


Official Symbian Emulator S60 Browser – others Java ME / WRT webapps / C++ Windows
Download500-750Mb each (requires login) Devices: All Symbian devicesincluding: 3rd edition FP2 (such as Nokia N96), 5th edition (such as Nokia 5800 XpressMusic), Symbian^3 (such as N8) and an specific N97 emulator
Large download and installation. You need to check previous requirements to be installed first. You can install Opera MiniOpera MobileBolt Browser andUCWEB on Symbian emulators.


Official Nokia OS Emulator Nokia Browser – others Java ME / Flash Lite Windows
Download30-100Mb each(requires login) Devices: All devices including: 2nd edition, 3rd edition, 3rd edition FP1, 3rd edition FP2, 5th edition, 5th edition FP1, 5th edition FP1 Lite, 6th edition, 6th edition FP1
You can install Opera MiniUCWEBBolt Browser and OVI Browser Betaon Series 40 emulators.


Official Android Add-on Android Browser – others WindowsLinux
Download30-60Mb each device Devices: Motorola: Atrix, Bravo, Cliq 2, Dext, Milestone, BackFlip, Devour, Qrty, i1, Droid2, Droid X, Flipout, Defy, Flipside, Cliq, Citrus, others
Requires Android Emulator. There are 20 different downloads.


Official RIM OS Emulator RIM Browser – others Java Windows
Download50-170Mb eachRequires login Devices: 35 different models including series Bold, Curve, Pearl, Storm, Storm2, Style, Torch & Tour. Every model has different emulators combining OS version and operator firmware.
For web browsing testing you need to install and open a proxy service. SeeChapter 4 for a full compatibility table and installation guide. You can installOpera Mini and Bolt Browser on BlackBerry emulators.


Official Tablet OS Virtual Machine Internal Browser Adobe AIR MacWindows
Download105MbRequires login Devices: BlackBerry PlayBook (tablet)
HTML5 browser support. Adobe AIR & Packaged HTML5 WebWorkers app support.


Official Windows Phone Emulator Internet Explorer Silverlight Windows
Download (Visual Studio Express included)500Mb Devices: Generic Windows Phone 7
Comes with Visual Studio Express (free version) or as an add-in for commercial versions


Official Android Add-on Android Browser – others MacWindowsLinux
Download50Mb Devices: Sony Ericsson Xperia X10
Requires Android Emulator.


Official Android Add-on Android Browser – others MacWindowsLinux
Download130MbRequires Login Devices: Barnes & Noble Nook Color
Requires Android Emulator.


Official Symbian / Android / Windows Simulator Opera Mobile No native MacWindowsLinux
Download15-25Mb Devices: Multiple devices & OS emulation support
You can also use emulators (Symbian, Android) and install the real Opera Mobile inside.


Official Many Online emulator Opera Mini No native MacWindowsLinux
Use OnlineUse online v.4 Devices: Generic Java device – No Opera Mini for iOS emulation
You can also use emulators (Symbian, Android, Java, BlackBerry) and install the real Opera Mini inside.


Official Generic Engine Simulator Firefox Mobile No native MacWindowsLinux
Download20Mb Devices: Multiple devices – beta version.
You can also use emulators (Android) and install the real Firefox Mobile inside. The desktop simulator is very basic and it’s in beta state.


Official Symbian & Maemo Simulator No Browser support Qt MacWindowsLinux
Download500-900Mb Devices: Maemo (such as Nokia N900), Symbian Touch (such as Nokia N8) and Symbian non-touch (such as Nokie E71)
It does not support web browsing testing. You can test and create QtWebKit apps (hybrids) with HTML5 and CSS3.


Official Symbian & Maemo Simulator Webapp testing WRT and webapps MacWindowsLinux
Download200MbRequires Login Devices: Maemo (such as Nokia N900), Symbian Touch (such as Nokia N8) and Symbian non-touch (such as Nokie E71)
It does not support direct web browsing testing. You can test and create webapps & widgets.


3rd-party Generic Simulator WebKit-based PhoneGap hybrid testing MacWindowsLinux
Download15Mb Devices: Apple iPhone, Generic Android, and others
The rendering engine is a simulation. You can use it for hybrid PhoneGap testing or for simple WebKit-based browser simulation.


3rd party Several Simulator Generic browser support Flash MacWindows
Included with Creative Suite (commercial) Devices: Device Library with more than 100 devices.
The web browsing support up to CS5 version is very basic (just a sized webkit browser for every device) and non-accurate.


Official Bada OS Simulator No Browser Support Bada C Windows
Download200/400MbRequires Login Devices: Maemo (such as Nokia N900), Symbian Touch (such as Nokia N8) and Symbian non-touch (such as Nokie E71)
It does not support direct web browsing testing. You can test and create webapps & widgets.


Official Garnet OS (formerly Palm OS) Emulator NetFront Garnet MacWindowsLinux
Download200/400Mb Devices: Old Palm OS devices


Official Windows Mobile Emulator Internet Explorer .NET / C++ Windows
Download600Mb Devices: Generic Windows Mobile Devices – Standard and Professional versions
* This emulator requires special attention for using the browser. Look at chapter 4 ofProgramming the Mobile Web for detailed instructions on how to use it. You can install Opera Mobile and Opera Mini inside the emulator.


Official Windows Mobile Add-on Internet Explorer .NET / C++ Windows
Download250Mb Devices: Generic Windows Mobile Devices – Standard and Professional versions
Requires Windows Mobile 6 SDK


Official Windows Mobile Add-on Internet Explorer .NET / C++ Windows
Download400Mb Devices: Generic Windows Mobile Devices – Standard and Professional versions
Requires Windows Mobile 6 SDK


Official Windows Mobile Emulator Internet Explorer .NET / C++ Windows
Download60Mb Devices: Generic Windows Mobile Devices – Standard and Professional versions
* This emulator requires special attention for using the browser. Look at chapter 4 ofProgramming the Mobile Web for detailed instructions on how to use it.


Official Native Simulator i-Mode Browser (Japan) No native Windows
Download38Mb Devices: Generic Windows Mobile Devices – Standard and Professional versions
Simulator for Japanese’s i-mode browsers

MITE 2.0

3rd-party Generic Simulator Generic No native Windows
Download75MbRequires login Devices: Generic Browser Testing with a library of hundreds of devices.
The rendering engine is not real. This tool simulates network requests as some mobile device and it renders the response on a generic webkit with some customization per device.


Official Windows Mobile Add-on Internet Explorer .NET / C++ Windows
Download7Mb Devices: Sony Ericsson Xperia X1
Requires Windows Mobile SDK


Official Samsung Add-on Internet Explorer .NET / C++ Windows
Download7Mb Devices: GT-B7300 Omnia Lite, GT-B7330 Omnia Pro, GT-B7620 Armani, GT-I8000 Omnia II, SPH-i350 Intrepid
Requires Windows Mobile SDK


Official Generic Simulator PhoneGap apps PhoneGap hybrids Windows
Download2Mb Devices: Generic Android (such as Xperia X10) and Symbian (such as Satio)
Requires Windows Mobile SDK


Official LG Simulator No Browser Support Java ME Windows
Download60-100Mb Devices: All propietary-OS LG devices
Only for Java ME testing


Official LG Simulator No Browser Support Java ME Windows
Download120Mb Devices: All propietary-OS Sony Ericsson devices
Only for Java ME testing


Official Samsung Simulator No Browser Support Java ME Windows
Download150MbRequires login Devices: All propietary-OS Samsung devices
Only for Java ME testing


Official Samsung Simulator Only Widgets Widgets Windows
Download150MbRequires login Devices: All propietary-OS, Symbian and Windows Mobile Samsung devices
Only for widget testing


Official Motorola Simulator No Browser Support Java ME Windows
Download40-150Mb eachRequires login Devices: All propietary-OS Motorola devices
Only for Java ME testing


3rd-party Several Simulator Only Widgets Widgets MacWindowsLinux
Download150Mb each Devices: Generic Widget platform
Only for widget testing


Official Brew Simulator Basic browser Flash / C++ Windows
Download200Mb Devices: Generic BREW platform


Generally speaking, an emulator is a piece of software that translates compiled code from an original architecture to the platform where it is running, such as the greatMAME. In the mobile development world, a device emulator is a desktop application that emulates mobile device hardware and operating systems, allowing us to test and debug our applications and see how they are working. There are also operating system emulators that don’t represent any real device hardware but rather the operating system as a whole. These exist for Windows Mobile and Android.

On the other hand, a simulator is a less complex application that simulates some of the behavior of a device, but does not emulate hardware and does not work over the real operating system. These tools are simpler and less useful than emulators. A simulator may be created by the device manufacturer or by some other company offering a simulation environment for developers.

If you want to download every emulator on this list you will need at least one MacOS desktop and one Windows desktop, downloading at least 25Gb of applications.

Do you know any other emulator? Leave it in the comments area?

Thanks 🙂 Keep Coding 🙂



iDev: True difference between Hash Table and Dictionary

True difference between Hash Table and Dictionary



Hash Table


A dictionary is a data structure that maps keys to values.

A hash table is a data structure that maps keys to values by taking the hash value of the key (by applying some hash function to it) and mapping that to a bucket where one or more values is stored.


Dictionary is not a threadsafe.

Hashtable is threadsafe.


Dictionary is types means that the values need not to boxing.

Hashtable values need to be boxed or unboxed because it stored the values and keys as objects.        


When you try to get the value of key which does not exists in the collection, the dictionary throws an exception of ‘KeyNotFoundException’.

When you try to get the value of key which does not exists in the collection, the Hashtable returns a NULL value.


When using large collection of key value pairs dictionary is not as good as Hashtable.

When using large collection of key value pairs hashtable would be considered more efficient than dictionary.


When we retrieve the record in collection the dictionary maintains the order of entries by which entries were added.

When we retrieve the record in collection the hashtable does not maintain the order of entries.


Dictionary relies on chaining.

Hashtable relies on rehashing.


Dictionary is Abstract Base class of Hash Table.

Hash Table is Derived by Dictionary class.


Dictionary is Generic Type.

Hash Table is not generic type.


Freshers Programming Question (Set – 1)

Hello Friends,

                     Here the some basic question lists in C and C++ programming language , which are most frequently asked questions in an freshers level / experienced interview in software companies in India.

  1. Write a program to Swap two numbers :
    • using third variable
    • without third variable
    • using bit-wise operator 
  2.  Write a program for 
    • Pass By Value
    • Pass By Reference
  3. Recursion Program:
    1. Prime Number
    2. Factorial series
    3. Fibonacci Series
    4. Sum  of Series
    5. Palindrome
  4. A partition of a positive integer n is a sequence of positive integers that sum to n. Write a program to print all non-increasing partitions of n.
    eg.   n=4
    3 1
    2 2
    2 1 1
    1 1 1 1
  5. Print this pattern:
    2 3
    4 5 6 ,

    and         1
         2     2
      3    3    3.