xWhat are binary trees?

Kommentare · 104 Ansichten

xWhat are binary trees?
xWhat are binary trees?


If a program/algorithm takes lot of time to execute, we would be consuming a lot more machine resources, which is costly.In Big O notation we exclude coefficients and lower order terms.Best Case, Average Case and Worst Case.We are often not interested in the best case time complexity.We usually tend to compute average case or worst case time complexity.Of what order is the Space complexity of following algorithms?It is also represented in Big O notation.Explain the difference between & and && operators in C/C++?Bitwise operators perform bit operation on each of the bit and return a bit value.If a=10 and b=6, then the following expression will return true as it operates on two boolean values which are true in this example.How does a Structure and a Union differ in terms of memory allocation in C/C++?Structs allocate enough space to store all of the fields/members in the struct.The first one is stored at the beginning of the struct, the second is stored after that, and so on.Unions only allocate enough space to store the largest field listed, and all fields are stored at the same space.This is because in a union, at a time only one type of enclosed variable can be used unlike struct where all the enclosed variables can be referenced.Stack is a data structure.Kernel, Shell, and the Program.Shell is an interface between the user and the kernel.Linux is developed by open source development.What does Perl stand for?Practical Extraction and Reporting Language.Perl is an interpreted language?What does this mean?Perl continue source code translation till it meets first error and stops further processing.What are different types of data types in Perl?Preceded by $, scalars are simple variables.A scalar can be a number, or a string or a reference.Preceded by @, arrays are ordered lists of scalars.Preceded by %, hashes are unordered sets of keys/value pairs that can be accessed using keys as subscripts.When to use a Cron Job?A Cron Job is a time based job scheduling in an operating system.One of the most common use of rsync command is to perform data backup and mirror disks between two machines.Variable names in C can contain alphanumeric characters as well as special characters?False


Kommentare