Friday, February 20, 2015

Stack Tutorial

1. why stack implement as linked list

 http://stackoverflow.com/questions/12056842/why-stack-is-implemented-as-a-linked-list-what-is-the-need-why-array-implemen 

2. error: template declaration of ‘typedef’
http://stackoverflow.com/questions/19192122/template-declaration-of-typedef-typename-footbar-bar

3.Sort the elements inside a stack using only push and pop operation is it possible to do it only with one additional stack. 

4.Five boxes, A through E are stacked in alphabetical order with box A on Top.The bottom three boxes are simultaneously removed and placed on Top with their vertical order maintained. if this procedure repeated two more time which box end up in middle.(Microsoft question from careerCup)
Ans. In my analysis, last element will be middle element  in next iteration.
 54 3 21 - (0 iteration 3 middle)
 21 5 43-(1 iteration 5 middle )
.......(In the fifth iteration we will have same number)


Wednesday, December 5, 2012

Company Question

Aircom Internation

C++

1) what are the basic concept of OOPS
2) What is Polymorphism
3) What is compile time Polymorphism
4)  is template compile time Polymorphism
5)  What is difference  between shallow copy and deep copy
6)  What is singleton pattern.Can you write code for that
7)  What is facade pattern.
8)  What is observer pattern
9)  What is virtual inheritance
9)  What is diamond shape problem
10) if base class one virtual function and derived class also contain virtual function.How many vtable create
11) When is vtable create ?
12) When is vpointer create ?
13) Can you explain vtable
14) Can you explain the compilation process
15) How the executable execute into system
16) What is the reason behind to decide default argument as trailer argument
17) Why do we need function overloading?
18) Why do we need function overriding?
19) Why do you need static object?.
20) What is static function?.
21) if Class B is Friend of A.Class C is Friend of B.What is the relation between A to C


Linux
1) what is sed command
2) what is awk command
3) what is tee command
4) what is difference between grep and find command
5) what is make file rule
6) Find the list of all file which does not contain particular string
7) what is touch command
8) what is main purpose of touch command
9) How will you copy from one machine to another machine
10)how will you delete a line in vi editor
11)How will you delete a word in vi editor
12)How will you delete a single character in vi editor
13)How will you execute a shell command within vi editor.(i.e) you have already
 open file than after you want to execute shell command. How will you execute
 shell command
14)How will you find a string into only particular directory and not recursive directory
15) what is max depth into Linux command
16)How will you search a particular word into vi editor
17)How will you do substitution into vi editor

Thursday, November 1, 2012

Memory Management in c++

http://www.hpl.hp.com/personal/Hans_Boehm/gc/myths.ps

http://www.codeproject.com/Articles/1669/A-Generational-Garbage-Collector-in-C

 http://www.codeproject.com/Articles/4160/Automatic-Garbage-Collection-in-C-using-Smart-poin

Gcov Code Coverage Tool.

Gcov Coverage:
http://codingfreak.blogspot.in/2009/02/gcov-analyzing-code-produced-with-gcc.html

Linux wiki
http://gcc.gnu.org/onlinedocs/gcc/Gcov.html

Error :undefined symbol: __gcov_merge_add (solution)
http://stackoverflow.com/questions/566472/where-are-the-gcov-symbols

Configure
http://www.codecoffee.com/tipsforlinux/articles/27.html

Lcov
http://ltp.sourceforge.net/coverage/lcov.php

Tuesday, September 18, 2012

Managerial Question

Wednesday, August 1, 2012

C++ Good link

1.C/C++
tricky question
http://www.gowrikumar.com/c/index.html

Static object

Boost Pointer

Thinking in c++ volume two
http://www.ziddu.com/download/12315819/Tic2Vtwo.pdf.html

C programming language

C++ notes
http://www.ziddu.com/download/12315879/Constructor.doc.html

Difference between Encapsulation vs abstraction
http://pragmaticcraftsman.com/2006/05/encapsulation-vs-abstraction/

Learncpp
http://www.learncpp.com/

Parashift Interview Question
http://www.parashift.com/c++-faq-lite/

counter view
http://yosefk.com/c++fqa/inline.html

explicit constructor
http://www.go4expert.com/forums/showthread.php?t=20756

Scoped_ptr related link
http://efreedom.com/Question/1-500656/CPlusPlus-Using-Scoped-Ptr-Member-Variable

http://efreedom.com/Question/1-3625981/Can-Scoped-Ptr-Shared-Ptr-Mixed

Function Pointer 
http://www.newty.de/fpt/index.html

Call Back Function
http://www.codeguru.com/cpp/cpp/cpp_mfc/callbacks/article.php/c10557/Callback-Functions-Tutorial.htm
http://www.tutok.sk/fastgl/callback.html

C++ FAQ
http://www2.research.att.com/~bs/bs_faq2.html

call a C library from C++ code or   call a C++ library from C code? http://developers.sun.com/solaris/articles/mixing.html
http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html

You have an empty class. What does compiler do?
http://www.cplusplus.com/forum/general/8370/

http://forums.devx.com/archive/index.php/t-83525.html

http://stackoverflow.com/questions/4035180/advantages-of-an-empty-class-in-c

http://www.informit.com/articles/article.aspx?p=31473&seqNum=2#


How will you handle factorial for large number
http://answers.google.com/answers/threadview/id/33709.html

Auto_Ptr
http://www.bogotobogo.com/cplusplus/autoptr.php

http://www.cprogramming.com/tutorial/auto_ptr.html


Design Pattern

http://www.coderanch.com/how-to/java/SingletonPattern

http://sourcemaking.com/design_patterns/facade


Pointer
http://www.ericgiguere.com/articles/reading-c-declarations.html 

http://c-pointer.blogspot.com/2009/10/understanding-pointers-in-c.html 

  
http://www.ohloh.net/

Vector inner implemention
http://www.frogatto.com/

Online Course Edx
https://www.edx.org/courses

Online Data Structure Class
https://www.coursera.org/

Binary Tree
http://www.bogotobogo.com/cplusplus/binarytree.php

Practice Program
http://www.codechef.com/problems/MONEY

C Forum
http://codereview.stackexchange.com/questions/tagged/c

Cpp Tips
http://www.cpptips.com/cpptips.html




Project Based URL:
http://projecteuler.net/

Good Course
http://www.stanford.edu/class/cs106b/

Open Source ProjectGoogle code jam(Good for beginner)
http://code.google.com/codejam

Loki
http://loki-lib.sourceforge.net/ 

Boost (last option if you can)

http://www.boost.org/development/

LearnHacker
https://learn.hackerearth.com/
 

Monday, June 4, 2012

Reference Material

C++
1. C++ FAQ
2. Test you skill in C++
3. Test you C skill
4. www.learncpp.com/
5. http://www.cppcoffe.blogspot.in/
6. http://www.geeksforgeeks.org/
7. http://www.tutorialspoint.com/cplusplus
8. Effective C++
9. http://c-pointer.blogspot.in/
10. http://www.careercup.com/



Data Structure
1.Data Structures ( a pseudocode approach with c++)
2.Data Structure and algorithm made easy
3.Cracking coding interview
4. http://www.geeksforgeeks.org/
5. googlegeeks group
6. http://www.careercup.com/
7. IIT delhi video lecture
8. Standford Data Structure Class
9. MIT open course Data Structure
10.Introduction to Algorithum 


DataBase
1.Crack IT interview DataBase
2. http://www.programmerinterview.com/index.php/database-sql/what-is-an-index/
3. http://sql-plsql.blogspot.in/2009/04/sql-interview-questions.html

4. http://www.orafaq.com/faq/what_are_the_difference_between_ddl_dml_and_dcl_commands
5. http://www.1keydata.com/sql/sql.html 
6. http://plsql-tutorial.com/index.htm

7. http://www.sqlcourse.com/index.html (online Compiler)
8. http://www.java2s.com/Tutorial/Oracle/CatalogOracle.htm 
9. http://apex.oracle.com/i/index.html

Unix Reference:
1.Crack IT interview with Unix DataBase
2.http://www.folkstalk.com/2011/11/top-unix-interview-questions-part-1.html 
3.www.thegeekstuff.com/2010/11/50-linux-commands/
4.http://faq.programmerworld.net/networking/unix-interview-questions-answers.html

5.linux.101hacks.com/linux-commands/cut-command-examples/
6.http://www.gointerviews.com/top-50-linux-interview-questions/ 
7.http://www.theunixschool.com/2012/04/linux-interview-questions-part-1.html  


Design Pattern:
1.Head & First Design Pattern (Book)
2.http://sourcemaking.com/design_patterns
3. http://www.javabeat.net/2009/02/design-patterns-interview-questions/
4. http://javarevisited.blogspot.in/2012/06/20-design-pattern-and-software-design.html

System Programming:
1.Galvin -Operating System Concept (7 Edition)
2. Programming with POSIX Threads

Verbal & Reasoning Reference :
1. Wren & Martin English Grammar Book
2. Word Power Made Easy
3.  Barron English Book