- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Samual Sam has Published 2663 Articles
Samual Sam
539 Views
A byte order mark (BOM) consists of the character code U+FEFF at the beginning of a data stream, where it can be used as a signature defining the byte order and encoding form, primarily of unmarked plaintext files.Many Windows programs (including Windows Notepad) add the bytes 0xEF, 0xBB, 0xBF at ... Read More
Samual Sam
266 Views
dragenterThe dragenter event is used to determine whether the drop target is to accept the drop. If the drop is to be accepted, then this event has to be canceled.dragoverThe dragover event, which is used to determine what feedback is to be shown to the user. If the event is ... Read More
Samual Sam
2K+ Views
You can change address independent communication data using Function Modules like BAPI_BUPA_CREATE_FROM_DATA and BAPI_BUPA_CENTRAL_CHANGE and other FM’s in the same category.Function Module: BAPI_BUPA_CREATE_FROM_DATA Function Group: BUBA_3 Program Name: SAPLBUBA_3 Following are the parameters:Function Module: BAPI_BUPA_CENTRAL_CHANGEFunction Group: BUBA_3 Program Name: SAPLBUBA_3Following ... Read More
Samual Sam
195 Views
There is no concept of a tuple in the JSON format. Python's JSON module converts Python tuples to JSON lists because that's the closest thing in JSON to a tuple. Immutability will not be preserved. If you want to preserve them, use a utility like a pickle or write your ... Read More
Samual Sam
315 Views
CSS invented by Håkon Wium Lie on October 10, 1994, and maintained by a group of people within the W3C called the CSS Working Group. The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by W3C members, it becomes a recommendation.These ratified ... Read More
Samual Sam
549 Views
Stack is an Abstract Data Type (ADT), commonly used in most programming languages. It is named stack as it behaves like a real-world stack, for example – a deck of cards or a pile of plates, etc.A stack is first in first out, it has two main operations push and ... Read More
Samual Sam
192 Views
dicts in python are heavily optimized. Creating a dict from N keys or key/value pairs is O(N), fetching is O(1), putting is amortized O(1), and so forth. You don't need to optimize them explicitly. You can be sure of this as python under the hood implements its own classes using ... Read More
Samual Sam
324 Views
There are many C++/Python bindings. It boils down to what you use to communicate between C++ and python to read python dictionaries in c++. Most of these libraries(like Boost) handle the parsing themselves. You could use an intermediate data transfer format like JSON or XML to pass data between the ... Read More
Samual Sam
584 Views
dicts in python are heavily optimized. Creating a dict from N keys or key/value pairs is O(N), fetching is O(1), putting is amortized O(1), and so forth. You don't need to optimize them explicitly. You can be sure of this as python under the hood implements its own classes using ... Read More
Samual Sam
495 Views
There are some cases where you can simply avoid using dictionaries in python. For example, if you're creating a dict of continuous integers to some values, consider using a list instead.If you're creating string-based keys, you might be better off using a Trie data structure(http://en.m.wikipedia.org/wiki/Trie).There are other cases where you ... Read More
To Continue Learning Please Login
Login with Google